aboutsummaryrefslogtreecommitdiff
path: root/wercker.yml
diff options
context:
space:
mode:
authorAndrei Selkin <andreyselkin@gmail.com>2016-06-23 20:38:46 +0300
committerRoman Ivanov <romani@users.noreply.github.com>2016-06-23 10:38:46 -0700
commit924a9d48893fd13082b59b24df53c447a9f10397 (patch)
tree8d9fbabeaaf2ffbe2bdc77c7ff8f6aa71d063768 /wercker.yml
parent3c136fbd9f79b179f010322aff8ed2b829209db8 (diff)
downloadcheckstyle-924a9d48893fd13082b59b24df53c447a9f10397.tar.gz
Issue #3159: Reduce the number of tasks performed by Travis CI (#3299)
Diffstat (limited to 'wercker.yml')
-rw-r--r--wercker.yml65
1 files changed, 50 insertions, 15 deletions
diff --git a/wercker.yml b/wercker.yml
index 279283572..f76443287 100644
--- a/wercker.yml
+++ b/wercker.yml
@@ -13,6 +13,56 @@ build:
code: |-
mvn clean integration-test failsafe:verify
+ # NoErrorTest - Orekit (oraclejdk8)
+ - 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
+ && 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/checkstyle/Orekit.git && cd Orekit
+ && mvn compile checkstyle:check -Dorekit.checkstyle.version=${CS_POM_VERSION}
+
+ # NoErrorTest - XWiki (oraclejdk8)
+ - 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
+ && 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/checkstyle/xwiki-commons/
+ && cd xwiki-commons && git checkout checkstyle-regression
+ && mvn install -DskipTests -Dxwiki.clirr.skip=true checkstyle:check -Dcheckstyle.version=${CS_POM_VERSION}
+
+ # NoErrorTest - Apache Apex (oraclejdk8)
+ - 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
+ && 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
+ && mvn compile checkstyle:check -Dcheckstyle.version=${CS_POM_VERSION}
+
+ # NoExceptiontest - Apache Struts (oraclejdk8)
+ - script:
+ name: NoExceptiontest - Apache Struts
+ code: >
+ rm -rf contribution
+ && git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester
+ && sed -i.'' 's/projects-to-test-on.properties/projects-for-wercker.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 contribution/checkstyle-tester
+ && ./launch.sh -Dcheckstyle.config.location=checks-nonjavadoc-error.xml
+
# unit tests in German locale (oraclejdk8)
- script:
name: tests de
@@ -71,18 +121,3 @@ build:
else
echo 'please move all java8 resources to src/test/resources' && false;
fi
-
- # Releasenotes generation - validaton
- - script:
- name: Releasenotes generation
- code: >
- if [ "${WERCKER_GIT_BRANCH}" != "master" ]; then return 0; fi
- && git clone https://github.com/checkstyle/contribution && cd contribution/releasenotes-xdoc-builder
- && mvn clean compile package
- && cd ../../ && git clone https://github.com/checkstyle/checkstyle && cd checkstyle
- && LATEST_RELEASE_TAG=$(git describe $(git rev-list --tags --max-count=1)) && cd ../
- && CS_RELEASE_VERSION=$(mvn -q -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec | sed 's/-SNAPSHOT//' )
- && echo LATEST_RELEASE_TAG=${LATEST_RELEASE_TAG} && echo CS_RELEASE_VERSION=${CS_RELEASE_VERSION}
- && java -jar contribution/releasenotes-xdoc-builder/target/releasenotes-xdoc-builder-1.0-all.jar
- -localRepoPath checkstyle -startRef ${LATEST_RELEASE_TAG} -releaseNumber ${CS_RELEASE_VERSION} -authToken ${GITHUB_AUTH_TOKEN}
- && cat releasenotes.xml