27 lines
631 B
YAML
27 lines
631 B
YAML
---
|
|
services: docker
|
|
|
|
env:
|
|
- distro: ubuntu1804
|
|
- distro: ubuntu1604
|
|
- distro: debian10
|
|
- distro: debian9
|
|
- distro: debian8
|
|
- distro: alpine
|
|
#- distro: archlinux
|
|
|
|
script:
|
|
# Configure test script so we can run extra tests after playbook is run
|
|
- export container_id=$(date +%s)
|
|
- export cleanup=false
|
|
|
|
# Download test shim.
|
|
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/chriswayg/7cf5afda283252219c37c447ccf3ad88/raw/ansible-role-test.sh
|
|
- chmod +x ${PWD}/tests/test.sh
|
|
|
|
# Run tests.
|
|
- ${PWD}/tests/test.sh
|
|
|
|
notifications:
|
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|