diff --git a/.travis.yml b/.travis.yml index 2eb30c06c..e1395ed16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,16 +24,16 @@ cache: - $HOME/.m2 install: - - 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'; + - if [ $(mvn -v | grep Java | sed -E 's/.*version:\ (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; + then echo "on Java 8, skip droid-swing-ui module"; + mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -pl '!droid-swing-ui'; else mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V; fi; script: - - 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'; + - if [ $(mvn -v | grep Java | sed -E 's/.*version:\ (.*\..*)\..*, vendor:.*/\1/g') = "1.8" ]; + then echo "on Java 8, skip droid-swing-ui module"; + mvn test -B -pl '!droid-swing-ui'; else mvn test -B; fi;