travis: Fail if the status code is error

This commit is contained in:
Yi EungJun 2016-05-09 19:09:21 +09:00
parent a312819f10
commit 40276c8b21

View File

@ -9,7 +9,7 @@ before_install:
- sleep 10
script:
- curl http://localhost
- curl -sSf http://localhost > /dev/null
after_failure:
- timeout 3s docker-compose logs app db