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

@@ -23,8 +23,10 @@ before_script:
- docker logs mailman-core
script:
- tests/core.sh
- tests/core.sh
after_success:
- sh .travis/deploy_dockerhub.sh
after_script:
- docker-compose down
- sh .travis/deploy_dockerhub.sh