mirror of
https://github.com/apache/struts.git
synced 2026-08-06 15:17:00 +00:00
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:
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user