From 31c86e3a07939b3cf3641d0eae0c9de05276d25f Mon Sep 17 00:00:00 2001 From: Alessandro Fael Garcia Date: Wed, 11 Jul 2018 17:05:23 -0700 Subject: [PATCH] Update .travis.yml Do not check localhost when running the NGINX Unit test playbook --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6521269..15ea710 100644 --- a/.travis.yml +++ b/.travis.yml @@ -133,7 +133,7 @@ script: | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (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})"' notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/