Update do-build.sh

This commit is contained in:
Nick Minkler 2015-01-03 22:08:10 -08:00
parent 18377681e0
commit d124d780b8
1 changed files with 2 additions and 2 deletions

View File

@ -4,11 +4,11 @@ then
echo 'Travis can only publish docs for release builds.'
return 0
fi
if [[ "$TRAVIS_PULL_REQUEST" == "true" || "$TRAVIS_BRANCH" != "master" ]]
if [[ $TRAVIS_PULL_REQUEST == true || "$TRAVIS_BRANCH" != "master" ]]
then
mvn test
else
mvn clean deploy --settings .utility/settings.xml
fi
exit $?
exit $?