Skip to content

Commit 43a6a38

Browse files
committed
Update test suite to travis-lxc 0.9.0, remove ansible devel
1 parent c256413 commit 43a6a38

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

.travis.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
11
---
22
language: python
33
sudo: required
4-
dist: trusty
4+
dist: bionic
55
cache:
66
directories: [ '$HOME/lxc' ]
77
pip: true
8+
env:
9+
- ANSIBLE_VERSION='~=2.9.0'
810
matrix:
911
fast_finish: true
10-
env:
11-
- ANSIBLE_GIT_VERSION='devel' # 2.9.x development branch
12-
- ANSIBLE_VERSION='<2.9.0' # 2.8.x
13-
- ANSIBLE_VERSION='<2.8.0' # 2.7.x
14-
- ANSIBLE_VERSION='<2.7.0' # 2.6.x
12+
include:
13+
# FIXME: Ansible 2.10.x going through major restructuring.
14+
# https://groups.google.com/forum/#!msg/ansible-project/eXsoOKEd0Mk/XTgbnPWbCAAJ
15+
# - python: '3.6'
16+
# env: ANSIBLE_GIT_VERSION='devel' # 2.10.x development branch
17+
- python: '3.6'
18+
env: ANSIBLE_VERSION='~=2.8.0'
19+
- python: '3.6'
20+
env: ANSIBLE_VERSION='~=2.7.0'
1521
install:
1622
- if [ "$ANSIBLE_GIT_VERSION" ]; then pip install "https://github.com/ansible/ansible/archive/${ANSIBLE_GIT_VERSION}.tar.gz";
1723
else pip install "ansible${ANSIBLE_VERSION}"; fi;
1824
pip install --pre ansible-lint; pip install jmespath netaddr
1925
- ansible --version
20-
- ansible-galaxy install lae.travis-lxc,v0.8.1
26+
- ansible-galaxy install lae.travis-lxc,v0.9.0
2127
- ansible-playbook tests/install.yml -i tests/inventory
2228
- git archive --format tar.gz HEAD > lae.proxmox.tar.gz && ansible-galaxy install
2329
lae.proxmox.tar.gz,$(git rev-parse HEAD),lae.proxmox && rm lae.proxmox.tar.gz

0 commit comments

Comments
 (0)