diff options
author | Roman Ivanov <ivanov-jr@mail.ru> | 2016-02-09 04:39:39 -0800 |
---|---|---|
committer | Roman Ivanov <ivanov-jr@mail.ru> | 2016-02-12 20:23:32 -0800 |
commit | 4ed9a7d3755308ba5892c4dbe8c9260ac85a63a1 (patch) | |
tree | 5b1eea769a703bc913a73ada4b8a0a26d9592cba /.travis.yml | |
parent | 06ed1d48da4a57dc87cf3c1215bfe23bce4e78d8 (diff) | |
download | checkstyle-4ed9a7d3755308ba5892c4dbe8c9260ac85a63a1.tar.gz |
config: '-Dorekit.checkstyle.version' is used instead of sed pre-procesing of pom
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 04305338e..7b894bc96 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,12 +80,11 @@ matrix: - CMD1="mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true " - CMD2=" -Dpmd.skip=true -Dfindbugs.skip=true " - CMD3=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true" - - CMD4=" && git clone https://github.com/checkstyle/Orekit.git && cd Orekit" - - CMD5=" && sed -i.'' 's/<orekit\.checkstyle\.version>6\.6</<orekit.checkstyle.version>" - - CMD6="$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)</" - - CMD7="' pom.xml " - - CMD8=" && mvn compile checkstyle:check" - - CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8 + - CMD4=" && CS_POM_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)" + - CMD5=" && echo CS_version:\$CS_POM_VERSION" + - CMD6=" && git clone https://github.com/checkstyle/Orekit.git && cd Orekit" + - CMD7=" && mvn compile checkstyle:check -Dorekit.checkstyle.version=\$CS_POM_VERSION" + - CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7 - COVERAGE_CMD="" # NoExceptiontest - Checkstyle, sevntu-checkstyle (oraclejdk8) |