Skip to content

Commit

Permalink
ci: small change. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-5miles committed Jul 19, 2018
1 parent b3cd5ed commit b0ef59c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,13 @@ script:
- make docker_image && ./test/integration/test.sh

after_success:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then
make push_image ;
else
TAG=$TRAVIS_BRANCH make push_tag_image ;
fi

after_failure:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
- TAG=$TRAVIS_BRANCH make push_tag_image ;
- curl -i "http://localhost:26657/dump_consensus_state"
- cd ~/volumes/testnet/travis/scripts && docker-compose logs -t
- cd ~/volumes/testnet/travis/scripts && docker-compose logs -t --tail 100

before_deploy:
- BUILD_TAG=$TRAVIS_TAG make dist
Expand All @@ -61,6 +56,6 @@ deploy:
repo: CyberMiles/travis
tags: true

after_deploy:
after_script:
- docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
- TAG=$TRAVIS_TAG make push_tag_image ;

0 comments on commit b0ef59c

Please sign in to comment.