From 01eb2f8072dfa44872cea7333cef1e709d28f630 Mon Sep 17 00:00:00 2001 From: Roman Ivanov Date: Sat, 5 Dec 2015 15:39:00 -0800 Subject: [PATCH] Issue #2665: problem with Travis build assembly & run '-all' jar --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d89af288d..250c58049 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,11 +45,11 @@ matrix: - DESC="assembly & run '-all' jar" - CMD1="mvn clean package -Passembly" - CMD2=" && CS_POM_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)" - - CMD3=" && echo verson:\$CS_POM_VERSION" + - CMD3=" && echo version:\$CS_POM_VERSION" - CMD4=" && java -jar target/checkstyle-\$CS_POM_VERSION-all.jar -c /google_checks.xml" - CMD5=" src/it/resources/com/google/checkstyle/test/chapter3filestructure/rule332nolinewrap/InputNoLineWrapGood.java > output.log" - - CMD6=" && cat output.log" - - CMD7=" && cat output.log | grep 'warning|(Audit done.)' | if [[ 'Audit done.' != $? ]]; then exit 1; fi" + - CMD6=" && if grep -vE '(Starting audit)|(warning)|(Audit done.)' output.log ; then exit 1; fi " + - CMD7=" && if grep 'warning' output.log ; then exit 1; fi" - CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7 - COVERAGE_CMD="" # nemo.sonarqube.com (oraclejdk7)