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 - sleep 10
script: script:
- curl http://localhost - curl -sSf http://localhost > /dev/null
after_failure: after_failure:
- timeout 3s docker-compose logs app db - timeout 3s docker-compose logs app db