Skip to content

Commit 24534d7

Browse files
committed
Add PR friendly travis ci config
1 parent 28bc15b commit 24534d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ before_install:
1717
- tar xvf secrets.tar
1818

1919
script:
20-
- ./mvnw clean install -X -Djarsigner.skip=false checkstyle:check
20+
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./mvnw clean install -X -Djarsigner.skip=true checkstyle:check; fi'
21+
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then ./mvnw clean install -X -Djarsigner.skip=false checkstyle:check; fi'
2122

2223
after_success:
2324
- ./mvnw test jacoco:report coveralls:report

0 commit comments

Comments
 (0)