Push to docker hub only if the build succeeds.

This commit is contained in:
Abhilash Raj
2017-05-28 17:49:01 -07:00
parent 41ecfb35ba
commit 7b4376dd1b

View File

@@ -25,6 +25,8 @@ before_script:
script: script:
- tests/core.sh - tests/core.sh
after_success:
- sh .travis/deploy_dockerhub.sh
after_script: after_script:
- docker-compose down - docker-compose down
- sh .travis/deploy_dockerhub.sh