File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
language : python
3
3
sudo : required
4
- dist : trusty
4
+ dist : bionic
5
5
cache :
6
6
directories : [ '$HOME/lxc' ]
7
7
pip : true
8
+ env :
9
+ - ANSIBLE_VERSION='~=2.9.0'
8
10
matrix :
9
11
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'
15
21
install :
16
22
- if [ "$ANSIBLE_GIT_VERSION" ]; then pip install "https://github.com/ansible/ansible/archive/${ANSIBLE_GIT_VERSION}.tar.gz";
17
23
else pip install "ansible${ANSIBLE_VERSION}"; fi;
18
24
pip install --pre ansible-lint; pip install jmespath netaddr
19
25
- ansible --version
20
- - ansible-galaxy install lae.travis-lxc,v0.8.1
26
+ - ansible-galaxy install lae.travis-lxc,v0.9.0
21
27
- ansible-playbook tests/install.yml -i tests/inventory
22
28
- git archive --format tar.gz HEAD > lae.proxmox.tar.gz && ansible-galaxy install
23
29
lae.proxmox.tar.gz,$(git rev-parse HEAD),lae.proxmox && rm lae.proxmox.tar.gz
You can’t perform that action at this time.
0 commit comments