Skip to content

Commit f840283

Browse files
committed
Update test suite to travis-lxc 0.10.0 and ansible 2.10
1 parent 8773d2d commit f840283

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

.travis.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
11
---
22
language: python
3-
python:
4-
- "2.7"
5-
- "3.6"
63
sudo: required
74
dist: bionic
85
cache:
96
directories: [ '$HOME/lxc' ]
107
pip: true
11-
env:
12-
- ANSIBLE_VERSION='~=2.9.0'
138
matrix:
149
fast_finish: true
1510
include:
1611
# FIXME: Ansible 2.10.x going through major restructuring.
1712
# https://groups.google.com/forum/#!msg/ansible-project/eXsoOKEd0Mk/XTgbnPWbCAAJ
18-
# - python: '3.6'
19-
# env: ANSIBLE_GIT_VERSION='devel' # 2.10.x development branch
20-
- python: '3.6'
21-
env: ANSIBLE_VERSION='~=2.8.0'
22-
- python: '3.6'
23-
env: ANSIBLE_VERSION='~=2.7.0'
13+
# - env: ANSIBLE_GIT_VERSION='devel' # 2.11.x development branch
14+
- env: ANSIBLE_VERSION='~=2.10.0'
15+
- env: ANSIBLE_VERSION='~=2.9.0'
16+
- env: ANSIBLE_VERSION='~=2.8.0'
2417
install:
2518
- if [ "$ANSIBLE_GIT_VERSION" ]; then pip install "https://github.com/ansible/ansible/archive/${ANSIBLE_GIT_VERSION}.tar.gz";
2619
else pip install "ansible${ANSIBLE_VERSION}"; fi;
2720
pip install --pre ansible-lint; pip install jmespath netaddr
2821
- ansible --version
29-
- ansible-galaxy install lae.travis-lxc,v0.9.0
22+
- ansible-galaxy install lae.travis-lxc,v0.10.0
3023
- ansible-playbook tests/install.yml -i tests/inventory
3124
- git archive --format tar.gz HEAD > lae.proxmox.tar.gz && ansible-galaxy install
3225
lae.proxmox.tar.gz,$(git rev-parse HEAD),lae.proxmox && rm lae.proxmox.tar.gz

0 commit comments

Comments
 (0)