config: reduce amount of skips by profile 'no-validations'
This commit is contained in:
parent
2d23e27181
commit
61684248e7
64
.travis.yml
64
.travis.yml
|
|
@ -145,12 +145,10 @@ matrix:
|
|||
- CMD1="git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester "
|
||||
- CMD2="&& sed -i.'' 's/^guava/#guava/' projects-for-travis.properties "
|
||||
- CMD3="&& sed -i.'' 's/#hibernate-orm/hibernate-orm/' projects-for-travis.properties "
|
||||
- CMD4="&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD5=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD6=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD7="&& cd contribution/checkstyle-tester "
|
||||
- CMD8="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8
|
||||
- CMD4="&& cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD5="&& cd contribution/checkstyle-tester "
|
||||
- CMD6="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6
|
||||
- COVERAGE_CMD=""
|
||||
# NoExceptionTest - FindBugs (oraclejdk8)
|
||||
- jdk: oraclejdk8
|
||||
|
|
@ -159,12 +157,10 @@ matrix:
|
|||
- CMD1="git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester "
|
||||
- CMD2="&& sed -i.'' 's/^guava/#guava/' projects-for-travis.properties "
|
||||
- CMD3="&& sed -i.'' 's/#findbugs/findbugs/' projects-for-travis.properties "
|
||||
- CMD4="&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD5=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD6=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD7="&& cd contribution/checkstyle-tester "
|
||||
- CMD8="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8
|
||||
- CMD4="&& cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD5="&& cd contribution/checkstyle-tester "
|
||||
- CMD6="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6
|
||||
- COVERAGE_CMD=""
|
||||
# NoExceptionTest - Pmd,elasticsearch,lombok-ast (oraclejdk8)
|
||||
- jdk: oraclejdk8
|
||||
|
|
@ -175,12 +171,10 @@ matrix:
|
|||
- CMD3="&& sed -i.'' 's/#pmd/pmd/' projects-for-travis.properties "
|
||||
- CMD4="&& sed -i.'' 's/#elasticsearch/elasticsearch/' projects-for-travis.properties "
|
||||
- CMD5="&& sed -i.'' 's/#lombok-ast/lombok-ast/' projects-for-travis.properties "
|
||||
- CMD6="&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD7=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD8=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD9="&& cd contribution/checkstyle-tester "
|
||||
- CMD10="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8$CMD9$CMD10
|
||||
- CMD6="&& cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD7="&& cd contribution/checkstyle-tester "
|
||||
- CMD8="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8
|
||||
- COVERAGE_CMD=""
|
||||
# NoExceptionTest - RxJava,java-design-patterns,MaterialDesignLibrary,apache-ant,apache-jsecurity,android-launcher (oraclejdk8)
|
||||
- jdk: oraclejdk8
|
||||
|
|
@ -194,12 +188,10 @@ matrix:
|
|||
- CMD06="&& sed -i.'' 's/#apache-ant/apache-ant/' projects-for-travis.properties "
|
||||
- CMD07="&& sed -i.'' 's/#apache-jsecurity/apache-jsecurity/' projects-for-travis.properties "
|
||||
- CMD08="&& sed -i.'' 's/#android-launcher/android-launcher/' projects-for-travis.properties "
|
||||
- CMD09="&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD10=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD11=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD12="&& cd contribution/checkstyle-tester "
|
||||
- CMD13="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD01$CMD02$CMD03$CMD04$CMD05$CMD06$CMD07$CMD08$CMD09$CMD10$CMD11$CMD12$CMD13
|
||||
- CMD09="&& cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD10="&& cd contribution/checkstyle-tester "
|
||||
- CMD11="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD01$CMD02$CMD03$CMD04$CMD05$CMD06$CMD07$CMD08$CMD09$CMD10$CMD11
|
||||
- COVERAGE_CMD=""
|
||||
# NoExceptionTest - Spring (oraclejdk8)
|
||||
- jdk: oraclejdk8
|
||||
|
|
@ -208,26 +200,22 @@ matrix:
|
|||
- CMD1="git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester"
|
||||
- CMD2=" && sed -i.'' 's/^guava/#guava/' projects-for-travis.properties "
|
||||
- CMD3=" && sed -i.'' 's/#spring-framework/spring-framework/' projects-for-travis.properties "
|
||||
- CMD4=" && cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD5=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD6=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD7=" && cd contribution/checkstyle-tester "
|
||||
- CMD8=" && groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8
|
||||
- CMD4=" && cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD5=" && cd contribution/checkstyle-tester "
|
||||
- CMD6=" && groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6
|
||||
- COVERAGE_CMD=""
|
||||
# NoExceptionTest - Hbase (oraclejdk8)
|
||||
- jdk: oraclejdk8
|
||||
env:
|
||||
- DESC="NoExceptionTest - Hbase"
|
||||
- CMD1="git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester "
|
||||
- CMD2="&& sed -i.'' 's/^guava/#guava/' projects-for-travis.properties "
|
||||
- CMD3="&& sed -i.'' 's/#Hbase/Hbase/' projects-for-travis.properties "
|
||||
- CMD4="&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true "
|
||||
- CMD5=" -Dpmd.skip=true -Dfindbugs.skip=true "
|
||||
- CMD6=" -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true"
|
||||
- CMD7="&& cd contribution/checkstyle-tester "
|
||||
- CMD8="&& groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6$CMD7$CMD8
|
||||
- CMD2=" && sed -i.'' 's/^guava/#guava/' projects-for-travis.properties "
|
||||
- CMD3=" && sed -i.'' 's/#Hbase/Hbase/' projects-for-travis.properties "
|
||||
- CMD4=" && cd ../../ && mvn clean install -Pno-validations "
|
||||
- CMD5=" && cd contribution/checkstyle-tester "
|
||||
- CMD6=" && groovy ./launch.groovy projects-for-travis.properties checks-nonjavadoc-error.xml"
|
||||
- CMD=$CMD1$CMD2$CMD3$CMD4$CMD5$CMD6
|
||||
- COVERAGE_CMD=""
|
||||
|
||||
# release dry run (oraclejdk8)
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ environment:
|
|||
# site, without verify
|
||||
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
|
||||
DESC: "site, without verify"
|
||||
CMD1: "mvn -e -Psite-only site"
|
||||
CMD1: "mvn -e -Pno-validations site"
|
||||
|
||||
build_script:
|
||||
- ps: >
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ checkout:
|
|||
dependencies:
|
||||
# we to override as 'mvn dependecy:go-ofline' does not download all dependencies
|
||||
override:
|
||||
- mvn install -Passembly
|
||||
- mvn install -Pno-validations
|
||||
- eval $TESTER_DEPENDENCIES
|
||||
machine:
|
||||
java:
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ checkstyle/checkstyle:
|
|||
- sed -i.'' 's/^guava/#guava/' projects-for-travis.properties
|
||||
- sed -i.'' 's/#spring-framework/spring-framework/' projects-for-travis.properties
|
||||
- sed -i.'' 's/projects-to-test-on.properties/projects-for-travis.properties/' launch.sh
|
||||
- cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true -Dpmd.skip=true -Dfindbugs.skip=true -Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true
|
||||
- cd ../../ && mvn clean install -Pno-validations
|
||||
- cd contribution/checkstyle-tester
|
||||
- ./launch.sh -Dcheckstyle.config.location=checks-only-javadoc-error.xml
|
||||
- if grep "Got an exception" target/site/checkstyle.html; then
|
||||
|
|
|
|||
4
pom.xml
4
pom.xml
|
|
@ -1288,8 +1288,8 @@
|
|||
|
||||
<profile>
|
||||
<!-- To be used during development. Run the command-->
|
||||
<!-- mvn -Psite-only site -->
|
||||
<id>site-only</id>
|
||||
<!-- mvn -Pno-validations site -->
|
||||
<id>no-validations</id>
|
||||
<properties>
|
||||
<skipTests>true</skipTests>
|
||||
<linkcheck.skip>true</linkcheck.skip>
|
||||
|
|
|
|||
16
wercker.yml
16
wercker.yml
|
|
@ -30,9 +30,7 @@ build:
|
|||
- script:
|
||||
name: NoErrorTest - Orekit
|
||||
code: >
|
||||
mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true
|
||||
-Dpmd.skip=true -Dfindbugs.skip=true
|
||||
-Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true
|
||||
mvn clean install -Pno-validations
|
||||
&& CS_POM_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
|
||||
&& echo CS_version: ${CS_POM_VERSION}
|
||||
&& git clone https://github.com/Hipparchus-Math/hipparchus.git && cd hipparchus && mvn clean install -DskipTests
|
||||
|
|
@ -44,9 +42,7 @@ build:
|
|||
- script:
|
||||
name: NoErrorTest - XWiki
|
||||
code: >
|
||||
mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true
|
||||
-Dpmd.skip=true -Dfindbugs.skip=true
|
||||
-Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true
|
||||
mvn clean install -Pno-validations
|
||||
&& CS_POM_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
|
||||
&& echo CS_version: ${CS_POM_VERSION}
|
||||
&& git clone https://github.com/xwiki/xwiki-commons/
|
||||
|
|
@ -57,9 +53,7 @@ build:
|
|||
- script:
|
||||
name: NoErrorTest - Apache Apex
|
||||
code: >
|
||||
mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true
|
||||
-Dpmd.skip=true -Dfindbugs.skip=true
|
||||
-Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true
|
||||
mvn clean install -Pno-validations
|
||||
&& CS_POM_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
|
||||
&& echo CS_version: ${CS_POM_VERSION}
|
||||
&& git clone https://github.com/apache/incubator-apex-core/ && cd incubator-apex-core
|
||||
|
|
@ -71,8 +65,6 @@ build:
|
|||
code: >
|
||||
rm -rf contribution
|
||||
&& git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester
|
||||
&& cd ../../ && mvn clean install -DskipTests -DskipITs -Dcobertura.skip=true
|
||||
-Dpmd.skip=true -Dfindbugs.skip=true
|
||||
-Dcheckstyle.ant.skip=true -Dcheckstyle.skip=true -Dxml.skip=true
|
||||
&& cd ../../ && mvn clean install -Pno-validations
|
||||
&& cd contribution/checkstyle-tester
|
||||
&& groovy ./launch.groovy projects-for-wercker.properties checks-nonjavadoc-error.xml
|
||||
|
|
|
|||
Loading…
Reference in New Issue