fix travis build for PR

This commit is contained in:
Benjamin Gamard 2019-01-24 11:49:45 +01:00 committed by GitHub
parent 183e86aad6
commit c7c7badaf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ before_install:
- sudo apt-get -y -q install haveged && sudo service haveged start - sudo apt-get -y -q install haveged && sudo service haveged start
after_success: after_success:
- | - |
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
mvn -Pprod -DskipTests clean install mvn -Pprod -DskipTests clean install
docker login -u $DOCKER_USER -p $DOCKER_PASS docker login -u $DOCKER_USER -p $DOCKER_PASS
export REPO=sismics/docs export REPO=sismics/docs