Skip to content

Commit 9b79ef5

Browse files
authored
Do not run checkstyle as part of the gradle check task (#3985)
* Do not run checkstyle as part of the gradle check task * Run main build before checkstyle
1 parent 7629b31 commit 9b79ef5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ env:
1717
global:
1818
- GRADLE_OPTS=-Dorg.gradle.daemon=false
1919
matrix:
20-
- TEST_SUITE=checkstyle
2120
- TEST_SUITE=check OPTIONS=modernizer
21+
- TEST_SUITE=checkstyle
2222
- TEST_SUITE=fetcherTest
2323
- TEST_SUITE=databaseTest
2424
- TEST_SUITE=guiTest

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -395,11 +395,11 @@ checkstyle {
395395
// do not use other packages for checkstyle, excluding gen(erated) sources
396396
checkstyleMain.source = "src/main/java"
397397
toolVersion = '8.5'
398+
399+
// do not perform checkstyle checks by default
400+
sourceSets = []
398401
}
399402

400-
checkstyleMain.shouldRunAfter test
401-
checkstyleTest.shouldRunAfter test
402-
403403
modernizer {
404404
// We have more than 20 issues, which are not fixed yet. Nevertheless, we produce the modernizer output.
405405
// See https://github.com/andrewgaul/modernizer-maven-plugin for more information on modernizer

0 commit comments

Comments
 (0)