[testng] 100/160: Only deploy when it is not a PR and with Oracle JDK7

Eugene Zhukov eugene-guest at moszumanska.debian.org
Tue Aug 18 10:22:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

eugene-guest pushed a commit to annotated tag testng-6.9.5
in repository testng.

commit 402d0307d1529e7aa56c249e5095cc73a7f71dc7
Author: Julien Herr <julien.herr at alcatel-lucent.com>
Date:   Wed Jun 10 00:04:04 2015 +0200

    Only deploy when it is not a PR and with Oracle JDK7
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index e3643b6..5a0364d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,5 +6,5 @@ jdk:
 
 #before_install: bash "gradle/uploadSnapshot.sh"
 script: ./gradlew clean test
-after_success: ./gradlew uploadArchives
+after_success: test "${TRAVIS_PULL_REQUEST}" == "false" && test "${TRAVIS_JDK_VERSION}" == "oraclejdk7" && ./gradlew uploadArchives
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/testng.git



More information about the pkg-java-commits mailing list