From dd5d6bce90eae34edd652565c2602ecbd280151e Mon Sep 17 00:00:00 2001 From: Baratali Izmailov Date: Sat, 16 Apr 2016 01:18:21 +0100 Subject: [PATCH] Issue #2825: distelliCI manifest file added --- distelli-manifest.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/distelli-manifest.yml b/distelli-manifest.yml index 4921f046f..0b5ee3bec 100644 --- a/distelli-manifest.yml +++ b/distelli-manifest.yml @@ -1,3 +1,16 @@ checkstyle/checkstyle: Build: - - mvn clean test + - git clone https://github.com/checkstyle/contribution && cd contribution/checkstyle-tester + - 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 contribution/checkstyle-tester + - ./launch.sh -Dcheckstyle.config.location=checks-only-javadoc-error.xml + - if grep "Got an exception" target/site/checkstyle.html; then + - echo "[ERROR] Exceptions detected" + - exit 1 + - else + - echo "[INFO] Finished without exceptions" + - exit 0 + - fi