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

yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git


The following commit(s) were added to refs/heads/master by this push:
     new ef361b1  fix travis if statement syntax
ef361b1 is described below

commit ef361b1bd0a2be5412353715960223f65f9ee51b
Author: Yasser Zamani <yasserzam...@apache.org>
AuthorDate: Mon Nov 19 13:45:22 2018 +0330

    fix travis if statement syntax
---
 .travis.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 5ba7076..e12ba2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,11 +12,10 @@ script: mvn test -DskipAssembly
 
 after_success:
   # TODO delete following if statement after fix of 
https://github.com/cobertura/cobertura/issues/271
-  - if [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] || [ "$TRAVIS_JDK_VERSION" == 
"oraclejdk8" ]; then
-      mvn clean cobertura:cobertura 
org.eluder.coveralls:coveralls-maven-plugin:report 
com.updateimpact:updateimpact-maven-plugin:submit 
-Ptravis-coveralls,update-impact -DskipAssembly
-    else
-      echo "Not reporting coverage for $TRAVIS_JDK_VERSION due to 
incomatibility or to save performance";
-    fi
+  - if [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] || [ "$TRAVIS_JDK_VERSION" == 
"oraclejdk8" ];
+      then mvn clean cobertura:cobertura 
org.eluder.coveralls:coveralls-maven-plugin:report 
com.updateimpact:updateimpact-maven-plugin:submit 
-Ptravis-coveralls,update-impact -DskipAssembly;
+      else echo "Not reporting coverage for $TRAVIS_JDK_VERSION due to 
incomatibility or to save performance";
+    fi;
 
 env:
   global:

Reply via email to