2015-07-24 17:11:42 +07:00
|
|
|
env:
|
2018-10-29 20:18:37 +07:00
|
|
|
- PLATFORM='docker-debian-stretch-php70' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-debian-stretch-php71' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-debian-stretch-php72' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-debian-stretch-php73' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-ubuntu-xenial-php70' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-ubuntu-bionic-php72' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
2019-01-28 20:46:58 +07:00
|
|
|
- PLATFORM='docker-ubuntu-bionic-php72' ANSIBLE_VERSION='ansible>=2.6,<2.7'
|
|
|
|
- PLATFORM='docker-debian-stretch-php70' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-debian-stretch-php71' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-debian-stretch-php72' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-debian-stretch-php73' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-ubuntu-xenial-php70' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-ubuntu-bionic-php72' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
|
|
|
- PLATFORM='docker-ubuntu-bionic-php72' ANSIBLE_VERSION='ansible>=2.7,<2.8'
|
2015-07-24 17:11:42 +07:00
|
|
|
|
2015-10-08 00:38:24 +07:00
|
|
|
sudo: required
|
2015-07-24 17:11:42 +07:00
|
|
|
|
2017-06-06 21:27:11 +07:00
|
|
|
dist: trusty
|
|
|
|
|
2015-10-08 00:38:24 +07:00
|
|
|
language: python
|
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
2015-07-24 17:11:42 +07:00
|
|
|
|
2017-06-06 21:27:11 +07:00
|
|
|
before_install:
|
2017-11-22 22:28:35 +07:00
|
|
|
- wget https://releases.hashicorp.com/vagrant/2.0.1/vagrant_2.0.1_x86_64.deb
|
|
|
|
- sudo dpkg -i vagrant_2.0.1_x86_64.deb
|
2017-06-06 21:27:11 +07:00
|
|
|
|
|
|
|
install:
|
|
|
|
- pip install "$ANSIBLE_VERSION"
|
|
|
|
|
2015-07-24 17:11:42 +07:00
|
|
|
script:
|
2017-06-06 21:27:11 +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:40 +07:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|