Skip to content

Commit

Permalink
Update travis file
Browse files Browse the repository at this point in the history
  • Loading branch information
engapa authored Dec 5, 2017
1 parent 32e1dcc commit 7d27b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ script:
after_success:
- docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
- docker push engapa/zookeeper:$ZOO_VERSION
- if [ "$TRAVIS_BRANCH" == "master" ]; then
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then
docker build --no-cache -t engapa/zookeeper:latest;
docker push engapa/zookeeper:latest;
fi

after_script:
- docker stop zk
- docker rm zk
- docker rm zk

0 comments on commit 7d27b67

Please sign in to comment.