diff --git a/.travis.yml b/.travis.yml index 4338772fe..63c293370 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,8 @@ jdk: services: - redis-server install: true +# The environment variable ${TRAVIS_PULL_REQUEST} is set to "false" when the build +# is for a normal branch commit. When the build is for a pull request, it will +# contain the pull request’s number. script - - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw -s .settings.xml package -nsu -Dmaven.test.redirectTestOutputToFile=false \ No newline at end of file + - '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || ./mvnw -s .settings.xml package -nsu -Dmaven.test.redirectTestOutputToFile=false'