diff --git a/.travis.yml b/.travis.yml index af53f8c..6ed6460 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_install: matrix: include: - - env: PROFILE=non-existent + - env: PROFILE=non-existent DEPLOY=true jdk: oraclejdk8 - env: PROFILE=spring5-next jdk: oraclejdk8 diff --git a/build.bash b/build.bash index 98063d7..d75771b 100755 --- a/build.bash +++ b/build.bash @@ -1,6 +1,6 @@ #!/bin/bash -x -if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" -a "${PROFILE}" = "non-existent" ]; then +if [ "${TRAVIS_PULL_REQUEST}" = "false" -a "${TRAVIS_BRANCH}" = "master" -a "${DEPLOY}" = "true" ]; then mvn -Pdistribute,snapshot,docs clean deploy else mvn clean dependency:list test -P${PROFILE} -Dsort