Update .travis.yml
Do not check localhost when running the NGINX Unit test playbook
This commit is contained in:
parent
8aad2bcb94
commit
31c86e3a07
@ -133,7 +133,7 @@ script:
|
|||||||
| grep -q 'changed=0.*failed=0'
|
| grep -q 'changed=0.*failed=0'
|
||||||
&& (echo 'Idempotence test: pass' && exit 0)
|
&& (echo 'Idempotence test: pass' && exit 0)
|
||||||
|| (echo 'Idempotence test: fail' && exit 1)
|
|| (echo 'Idempotence test: fail' && exit 1)
|
||||||
- 'sudo docker exec "$(cat ${container_id})" curl http://localhost/'
|
- 'if [${playbook} != "unit"]; then sudo docker exec "$(cat ${container_id})" curl http://localhost/; fi'
|
||||||
- 'sudo docker rm -f "$(cat ${container_id})"'
|
- 'sudo docker rm -f "$(cat ${container_id})"'
|
||||||
notifications:
|
notifications:
|
||||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||||
|
Loading…
Reference in New Issue
Block a user