Issue #2665: problem with Travis build assembly & run '-all' jar
This commit is contained in:
parent
a37234433e
commit
01eb2f8072
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue