From 29adcf5fb05911772dd30f88275f6e976d191470 Mon Sep 17 00:00:00 2001 From: Jakob Zwiener Date: Thu, 5 Jun 2014 10:39:44 +0200 Subject: [PATCH 1/2] actually putting deployment in else branch --- .travis.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f6c28f9e8..fab5a5523 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 From 0e30f8ae72a477bc4938ba211dc1eeb247d45820 Mon Sep 17 00:00:00 2001 From: Jakob Zwiener Date: Thu, 5 Jun 2014 11:21:47 +0200 Subject: [PATCH 2/2] fixed error in if --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fab5a5523..e7748119b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +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; else; mvn deploy --settings deploysettings.xml; fi \ 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