From eacb3c5d4ba3c4c80649c5c63df77ddfa70dbf4b Mon Sep 17 00:00:00 2001 From: Jeremie Date: Tue, 31 Dec 2019 11:47:38 +0100 Subject: [PATCH] fix: travis config --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2eb30c06c..b55295f64 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,7 @@ cache: - $HOME/.m2 install: - - if [ $(mvn -v | grep Java | sed -E 's/.*version: (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; + - if [ $(mvn -v | grep Java | sed -E 's/.*version:\ (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; then echo "on Java 8, skip droid-ui module"; mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -pl '!droid-ui'; else mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V; @@ -32,7 +32,7 @@ install: script: - - if [ $(mvn -v | grep Java | sed -E 's/.*version: (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; + - if [ $(mvn -v | grep Java | sed -E 's/.*version:\ (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; then echo "on Java 8, skip droid-ui module"; mvn test -B -pl '!droid-ui'; else mvn test -B;