travis: Fail if the status code is error

This commit is contained in:
Yi EungJun committed 2016-05-09 20:03:06 +09:00
1 parent a312819f10
commit 40276c8b21
1 file changed
+1 -1
+1 -1
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