Skip to content

Commit

Permalink
Merge pull request #10 from IoTUDresden/docker
Browse files Browse the repository at this point in the history
fix docker login
  • Loading branch information
andiikaa authored Dec 19, 2017
2 parents 995d954 + 8364c10 commit cde0762
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 @@ -13,8 +13,8 @@ jdk:
- oraclejdk8

script:
- if [ $TRAVIS_BRANCH == 'master' ]; then
docker login -e $DOCKER_EMAIL -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
- if [ $TRAVIS_BRANCH == 'master' && "$TRAVIS_PULL_REQUEST" == "false" ]; then
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
mvn deploy;
else
mvn package;
Expand Down

0 comments on commit cde0762

Please sign in to comment.