diff --git a/.travis.yml b/.travis.yml index f6c28f9e8..e7748119b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,5 +12,4 @@ script: "mvn -q clean verify" after_success: - mvn coveralls:cobertura - - if [[ "$TRAVIS_BRANCH" != "master" && "$TRAVIS_JDK_VERSION" != "oraclejdk7" ]]; then echo "Deployments are only done for the master branch and oraclejdk7. "; exit 0; fi - - mvn deploy --settings deploysettings.xml \ No newline at end of file + - if [[ "$TRAVIS_BRANCH" != "master" && "$TRAVIS_JDK_VERSION" != "oraclejdk7" ]]; then echo "Deployments are only done for the master branch and oraclejdk7. "; exit 0; else mvn deploy --settings deploysettings.xml; fi \ No newline at end of file