2014-03-21 19:26:46 +00:00
|
|
|
---
|
2018-05-07 08:29:25 +00:00
|
|
|
services: docker
|
|
|
|
|
|
|
|
env:
|
2020-04-27 19:12:39 +00:00
|
|
|
- distro: ubuntu1804
|
2018-05-07 08:29:25 +00:00
|
|
|
- distro: ubuntu1604
|
2020-04-27 19:12:39 +00:00
|
|
|
- distro: debian10
|
2018-05-07 08:29:25 +00:00
|
|
|
- distro: debian9
|
|
|
|
- distro: debian8
|
2018-05-08 11:20:27 +00:00
|
|
|
- distro: archlinux
|
2018-05-26 14:15:04 +00:00
|
|
|
- distro: alpine
|
2018-05-07 08:29:25 +00:00
|
|
|
|
2014-03-21 19:26:46 +00:00
|
|
|
script:
|
2018-05-07 08:29:25 +00:00
|
|
|
# Configure test script so we can run extra tests after playbook is run
|
|
|
|
- export container_id=$(date +%s)
|
|
|
|
- export cleanup=false
|
|
|
|
|
|
|
|
# Download test shim.
|
2018-05-07 20:56:04 +00:00
|
|
|
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/chriswayg/7cf5afda283252219c37c447ccf3ad88/raw/ansible-role-test.sh
|
2018-05-07 08:29:25 +00:00
|
|
|
- chmod +x ${PWD}/tests/test.sh
|
|
|
|
|
|
|
|
# Run tests.
|
|
|
|
- ${PWD}/tests/test.sh
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|