2017-06-05 21:21:47 +07:00
|
|
|
env:
|
|
|
|
- PLATFORM='docker-debian-jessie' ANSIBLE_VERSION='ansible>=2.2,<2.3'
|
|
|
|
- PLATFORM='docker-debian-jessie-backports' ANSIBLE_VERSION='ansible>=2.2,<2.3'
|
|
|
|
- PLATFORM='docker-debian-jessie-dotdeb' ANSIBLE_VERSION='ansible>=2.2,<2.3'
|
2017-07-27 16:50:48 +07:00
|
|
|
- PLATFORM='docker-debian-stretch-noht' ANSIBLE_VERSION='ansible>=2.2,<2.3'
|
2017-06-05 21:21:47 +07:00
|
|
|
- PLATFORM='docker-debian-jessie' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
|
|
|
- PLATFORM='docker-debian-jessie-backports' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
|
|
|
- PLATFORM='docker-debian-jessie-dotdeb' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
|
|
|
- PLATFORM='docker-debian-stretch' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
2017-07-27 16:50:48 +07:00
|
|
|
- PLATFORM='docker-debian-stretch-noht' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
2017-06-05 21:21:47 +07:00
|
|
|
|
2016-10-13 15:19:24 +07:00
|
|
|
matrix:
|
2017-06-05 21:21:47 +07:00
|
|
|
allow_failures:
|
|
|
|
- env: PLATFORM='docker-debian-stretch' ANSIBLE_VERSION='ansible>=2.3,<2.4'
|
|
|
|
fast_finish: true
|
2015-08-04 17:26:38 +07:00
|
|
|
|
2015-10-08 00:31:12 +07:00
|
|
|
sudo: required
|
2015-08-04 17:26:38 +07:00
|
|
|
|
2016-10-13 15:19:24 +07:00
|
|
|
dist: trusty
|
|
|
|
|
2015-10-08 00:31:12 +07:00
|
|
|
language: python
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2015-08-04 17:26:38 +07:00
|
|
|
|
2017-06-05 21:21:47 +07:00
|
|
|
before_install:
|
|
|
|
- wget https://releases.hashicorp.com/vagrant/1.9.5/vagrant_1.9.5_x86_64.deb
|
|
|
|
- sudo dpkg -i vagrant_1.9.5_x86_64.deb
|
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install "$ANSIBLE_VERSION"
|
|
|
|
|
2015-08-04 17:26:38 +07:00
|
|
|
script:
|
2017-06-05 21:21:47 +07:00
|
|
|
- VAGRANT_DEFAULT_PROVIDER=docker vagrant up $PLATFORM
|
|
|
|
- >
|
|
|
|
VAGRANT_DEFAULT_PROVIDER=docker vagrant provision $PLATFORM
|
|
|
|
| grep -q 'changed=0.*failed=0'
|
|
|
|
&& (echo 'Idempotence test: pass' && exit 0)
|
|
|
|
|| (echo 'Idempotence test: fail' && exit 1)
|
|
|
|
- VAGRANT_DEFAULT_PROVIDER=docker vagrant status
|
2016-03-05 18:06:08 +07:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|