disable update-impact plugin for Pull Requests

See also: https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
This commit is contained in:
Yasser Zamani
2018-12-13 21:25:26 +03:30
parent 33e81580c8
commit 300ce9020e
+6 -2
View File
@@ -8,8 +8,12 @@ jdk:
- oraclejdk11
install: true
script: ./mvnw test -DskipAssembly
script:
- if [ "$TRAVIS_PULL_REQUEST" == "true" ]; then
./mvnw test -DskipAssembly;
else
./mvnw test -DskipAssembly -Dupdate-impact;
fi;
after_success:
# TODO delete following if statement after fix of https://github.com/cobertura/cobertura/issues/271
- if [ "$TRAVIS_JDK_VERSION" == "openjdk8" ] || [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ]; then