Change travis image to Ubuntu Trusty
This commit is contained in:
parent
37a1d6681b
commit
bd80043e76
|
@ -1,6 +1,7 @@
|
||||||
# .travis.yml
|
# .travis.yml
|
||||||
---
|
---
|
||||||
|
|
||||||
|
dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
env:
|
env:
|
||||||
- >
|
- >
|
||||||
|
@ -83,6 +84,7 @@ before_install:
|
||||||
- sudo apt-add-repository -y ppa:ansible/ansible
|
- sudo apt-add-repository -y ppa:ansible/ansible
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install ansible python-pip -y
|
- sudo apt-get install ansible python-pip -y
|
||||||
|
- ansible --version
|
||||||
- sudo pip install docker-py==1.5.0
|
- sudo pip install docker-py==1.5.0
|
||||||
# Pull docker image or build it
|
# Pull docker image or build it
|
||||||
- >
|
- >
|
||||||
|
@ -148,4 +150,3 @@ script:
|
||||||
| grep -q 'changed=0.*failed=0'
|
| grep -q 'changed=0.*failed=0'
|
||||||
&& (echo 'Idempotence test: pass' && exit 0)
|
&& (echo 'Idempotence test: pass' && exit 0)
|
||||||
|| (echo 'Idempotence test: fail' && exit 1)
|
|| (echo 'Idempotence test: fail' && exit 1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue