src.dualinventive.com/devops/ansible/external-roles/gitea/.travis.yml

28 lines
707 B
YAML

---
services: docker
env:
- distro: centos7
- distro: ubuntu1604
- distro: ubuntu1404
- distro: ubuntu1204
- distro: debian8
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/noplanman/40e96f31ee2301469769d4236aff40e2/raw/
- chmod +x ${PWD}/tests/test.sh
# Run tests.
- ${PWD}/tests/test.sh
# Check if we get an installation page.
- 'docker exec --tty ${container_id} env TERM=xterm curl http://localhost:3210/install'
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/