From d5439062801ccb5317f27107a776ab4c80397f84 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 12 Dec 2018 19:34:32 +0100 Subject: [PATCH 1/5] Uses JDK8 to submit update-impact report --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index e37909948..d45009980 100644 --- a/pom.xml +++ b/pom.xml @@ -214,7 +214,7 @@ update-impact - 1.7 + 1.8 update-impact From b2bba50cf273faa7374c96fd05d73d8c2cbe9eab Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 12 Dec 2018 19:42:30 +0100 Subject: [PATCH 2/5] Updates update-impact api key --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fb7423eea..024954be1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,9 +20,8 @@ after_success: env: global: - secure: DusDFL9cuX+mj64tXQfrYVbUVYnxlXmad4nuIMj0/lgDbwJ6kxYasJmR99bdvwu08gS9D5b7a+m7WJTN0FNATzEiiGDXcM+TiDPlYDh7dcalU4QGiLmMuCCEw1r7hp2XE4BWVgDfFhCsHhStgjE4RXzHIyPowoPXr4ugPf8at6w= + - secure: iI7IpfDtS+LUyS2yNuRCR3KelNyvBHuoMQ3gb1UNmR5SSL7jO/p3olQWrQROs28FJ+dpE3lHyIjoHrebKQGJHHAgTG2XWxn+G3fDsf+wSSFSLoDGj0o2SgGXooBbR2dccnNZHCyQaOyE2cIPWaOxrQZFE4No70LQB4mrP/gdkoc= cache: directories: - - $HOME/.m2 - \ No newline at end of file + - $HOME/.m2 From 33e81580c8f366729ed55e244416d8d644d4c307 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Thu, 13 Dec 2018 09:59:08 +0100 Subject: [PATCH 3/5] Disables update-impact plugin --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 024954be1..eb329030a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ jdk: - oraclejdk11 install: true -script: ./mvnw test -DskipAssembly -Dupdate-impact +script: ./mvnw test -DskipAssembly after_success: # TODO delete following if statement after fix of https://github.com/cobertura/cobertura/issues/271 From 300ce9020e96bd12400db41224a264cb8a28100c Mon Sep 17 00:00:00 2001 From: Yasser Zamani Date: Thu, 13 Dec 2018 21:25:26 +0330 Subject: [PATCH 4/5] disable update-impact plugin for Pull Requests See also: https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index eb329030a..bb61d0916 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From d31b89eabb0b65e835b62c3485d0e57752c2e89b Mon Sep 17 00:00:00 2001 From: Yasser Zamani Date: Thu, 13 Dec 2018 21:29:36 +0330 Subject: [PATCH 5/5] fix update-impact plugin for Pull Requests if statement See also: https://docs.travis-ci.com/user/environment-variables/#convenience-variables --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bb61d0916..b25621abb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ jdk: install: true script: - - if [ "$TRAVIS_PULL_REQUEST" == "true" ]; then + - if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./mvnw test -DskipAssembly; else ./mvnw test -DskipAssembly -Dupdate-impact;