ansible/roles/onlyoffice/.travis.yml
Salt 14ea44130a Add onlyoffice and basic config
but it's BUGGY TRASH FOR FUCK'S SAKE AUGH
2021-01-20 19:25:16 -06:00

35 lines
1.0 KiB
YAML

---
services: docker
env:
- distro: centos7
- distro: ubuntu1804
- distro: ubuntu1604
- distro: debian8
- distro: debian9
- distro: debian10
script:
# Configure test script so we can run extra tests after playbook is run.
- export container_id=$(date +%s)
- export cleanup=false
- export test_idempotence=false
# Download test shim.
- wget -O ${PWD}/tests/test.sh https://gist.githubusercontent.com/geerlingguy/73ef1e5ee45d8694570f334be385e181/raw/
- chmod +x ${PWD}/tests/test.sh
# Run tests.
- ${PWD}/tests/test.sh
after_failure:
# Check what happened on systemd systems.
- 'docker exec --tty ${container_id} env TERM=xterm systemctl -l status nginx.service'
- 'docker exec --tty ${container_id} env TERM=xterm systemctl -l status supervisor.service'
- 'docker exec --tty ${container_id} env TERM=xterm supervisorctl status'
- 'docker exec --tty ${container_id} env TERM=xterm journalctl -xe --no-pager'
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/