Skip to content

Commit

Permalink
Issue checkstyle#7914: add spoon project to no-exception testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek-kumar09 committed Apr 5, 2020
1 parent 732e442 commit 4b79555
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .ci/wercker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,20 @@ no-exception-spotbugs)
rm -rf contribution
;;

no-exception-spoon)
CS_POM_VERSION=$(mvn -e -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}
checkout_from https://github.com/checkstyle/contribution.git
cd .ci-temp/contribution/checkstyle-tester
sed -i.'' 's/^guava/#guava/' projects-to-test-on.properties
sed -i.'' 's/#spoon/spoon/' projects-to-test-on.properties
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties \
--config checks-nonjavadoc-error.xml --checkstyleVersion ${CS_POM_VERSION}
cd ../../
rm -rf contribution
;;

no-exception-spring-framework)
CS_POM_VERSION=$(mvn -e -q -Dexec.executable='echo' -Dexec.args='${project.version}' \
--non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
Expand Down
10 changes: 10 additions & 0 deletions wercker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,16 @@ build:
echo "build is skipped ..."
fi
- script:
name: NoExceptiontest - spoon
code: |
if [[ $RUN_JOB == 1 ]]; then
echo "Command: ./.ci/wercker.sh no-exception-spoon"
./.ci/wercker.sh no-exception-spoon
else
echo "build is skipped ..."
fi
- script:
name: NoExceptiontest - spring-framework
code: |
Expand Down

0 comments on commit 4b79555

Please sign in to comment.