This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1_7
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit 38c59e3f4371eb73f66ba99e90681fc41294d204
Author: Andreas Veithen <veit...@apache.org>
AuthorDate: Sun Jan 6 13:58:21 2019 +0000

    Update .travis.yml on the 1.7 branch.
---
 .travis.yml | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a1b57e4..f1e9ee1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,12 +2,19 @@ dist: trusty
 language: java
 jdk:
   - openjdk8
+before_install:
+  - if [ -e $JAVA_HOME/lib/security/cacerts ]; then ln -sf 
/etc/ssl/certs/java/cacerts $JAVA_HOME/lib/security/cacerts; fi
 install: true
-script: '[ "$TRAVIS_REPO_SLUG" == apache/axis2-java ] && [ "$TRAVIS_BRANCH" == 
1_7 ] && [ "$TRAVIS_PULL_REQUEST" == false ] && goal=deploy || goal=verify ; 
mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true $goal'
-env:
-  global:
-    - secure: 
"IzpkWYL9tH5bE6I6nDbgW6HUlz/+R7XuBXo5997r2adRz8Q1vnSA4gvvMDLyvNjUXDWB99HNLXMaInYlpLNOjBjgXx0abmbcUBfCu0/923iuT80IowT7kNcQK+k4b9ajFT4EZAWySru1SyeTa1VgEjCnAhynDXhhGwCjjakxGrY="
-    - secure: 
"iAPTcu1L6InO4F39F22iDccXhc59H7vVbEXZF3IxeWdf0RbtaahWrxHO532ILmTxN+wMio0GMNtmbyp8GP1Q30g7ZtK0YINeKcvR/PesiIcerm5Zp7Bh1a2PB3wJFnlykYBenn+AXXXZKRrmPki2aXFC0wEQ6hgKBQfVgwOcvHA="
+script: mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true verify
+before_cache: "find $HOME/.m2 -name '*-SNAPSHOT' -a -type d -exec rm -rf '{}' 
';'"
+jobs:
+  include:
+    - if: repo = "apache/axis2-java" AND branch = 1_7 AND type = push
+      stage: deploy
+      script: mvn -B -s .travis-settings.xml -Papache-release -Dgpg.skip=true 
-DskipTests=true deploy
+      env:
+        - secure: 
"IzpkWYL9tH5bE6I6nDbgW6HUlz/+R7XuBXo5997r2adRz8Q1vnSA4gvvMDLyvNjUXDWB99HNLXMaInYlpLNOjBjgXx0abmbcUBfCu0/923iuT80IowT7kNcQK+k4b9ajFT4EZAWySru1SyeTa1VgEjCnAhynDXhhGwCjjakxGrY="
+        - secure: 
"iAPTcu1L6InO4F39F22iDccXhc59H7vVbEXZF3IxeWdf0RbtaahWrxHO532ILmTxN+wMio0GMNtmbyp8GP1Q30g7ZtK0YINeKcvR/PesiIcerm5Zp7Bh1a2PB3wJFnlykYBenn+AXXXZKRrmPki2aXFC0wEQ6hgKBQfVgwOcvHA="
 cache:
   directories:
     - $HOME/.m2

Reply via email to