Skip to content

Commit

Permalink
Issue #4714: Apply SuppressionCommentFilter and SuppressWithNearbyCom…
Browse files Browse the repository at this point in the history
…mentFilter gist patches
  • Loading branch information
timurt committed Jul 21, 2017
1 parent d6c1e81 commit 58ed859
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion wercker.yml
Expand Up @@ -46,7 +46,10 @@ build:
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}
for i in 1 2 3 4 5; do git clone https://github.com/pgjdbc/pgjdbc.git && break || sleep 15; done
cd pgjdbc/pgjdbc
cd pgjdbc/pgjdbc/src/main/checkstyle
wget https://gist.githubusercontent.com/timurt/a981d094cbbbe746ecd400424f5f3af8/raw/095735827e39ead395bb30a5ca325ed61dfee478/pgjdbc.patch
patch < pgjdbc.patch
cd ../../../
mvn compile checkstyle:check -Dcheckstyle.version=${CS_POM_VERSION}
cd ../../
rm -rf pgjdbc
Expand All @@ -70,6 +73,8 @@ build:
for i in 1 2 3 4 5; do git clone https://github.com/CS-SI/Orekit.git && break || sleep 15; done
cd Orekit
git checkout 651f25088ed50543d32dd54fa10f9a6a070ee5d7
wget https://gist.githubusercontent.com/timurt/7c45454a233ce775a7e5acaa1231d845/raw/37bba7f128d923e4f012cae582364941436ba620/orekit.patch
patch < orekit.patch
mvn compile checkstyle:check -Dorekit.checkstyle.version=${CS_POM_VERSION}
cd ../
rm -rf hipparchus Orekit
Expand Down Expand Up @@ -173,6 +178,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#apache-struts/apache-struts/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -191,6 +198,8 @@ build:
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#checkstyle/checkstyle/' projects-for-wercker.properties
sed -i'' 's/#sevntu-checkstyle/sevntu-checkstyle/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -208,6 +217,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#guava/guava/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -225,6 +236,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#hibernate-orm/hibernate-orm/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -243,6 +256,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#findbugs/findbugs/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -260,6 +275,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#spring-framework/spring-framework/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -277,6 +294,8 @@ build:
cd contribution/checkstyle-tester
sed -i'' 's/^guava/#guava/' projects-for-wercker.properties
sed -i'' 's/#Hbase/Hbase/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -296,6 +315,8 @@ build:
sed -i'' 's/#pmd/pmd/' projects-for-wercker.properties
sed -i'' 's/#elasticsearch/elasticsearch/' projects-for-wercker.properties
sed -i'' 's/#lombok-ast/lombok-ast/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand All @@ -319,6 +340,8 @@ build:
sed -i'' 's/#apache-ant/apache-ant/' projects-for-wercker.properties
sed -i'' 's/#apache-jsecurity/apache-jsecurity/' projects-for-wercker.properties
sed -i'' 's/#android-launcher/android-launcher/' projects-for-wercker.properties
wget https://gist.githubusercontent.com/timurt/dedda143b7a4984006af4731f3a236ec/raw/20d49293a4e8f284d1145661a2d21dd84a6d6fab/checkstyle-tester.patch
patch < checkstyle-tester.patch
groovy ./launch.groovy --listOfProjects projects-for-wercker.properties --config checks-nonjavadoc-error.xml
cd ../../
rm -rf contribution
Expand Down

0 comments on commit 58ed859

Please sign in to comment.