Skip to content

Commit

Permalink
develop branch push image even if testing failed
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-5miles committed May 31, 2018
1 parent 473db92 commit ca3971d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ after_success:
else
BRANCH=$TRAVIS_BRANCH make push_branch_image ;
fi

after_failure:
- if [[ "$TRAVIS_BRANCH" == "develop" ]]; then
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD ;
BRANCH=$TRAVIS_BRANCH make push_branch_image ;
fi

0 comments on commit ca3971d

Please sign in to comment.