From 5e96dc8085f6af41a564e9d18807ec356c76a0cb Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Sat, 9 Mar 2019 20:36:21 +0100 Subject: [PATCH] Deploy coverage reports only on JDK 8 + deploy snapshots only from JDK 8 build --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bafb838f..3db2872ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,12 @@ language: java install: true script: mvn clean install -DprocessorIntegrationTest.toolchainsFile=etc/toolchains-travis-jenkins.xml -B -V -after_success: - - mvn jacoco:report && bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" matrix: include: - jdk: oraclejdk8 + after_success: + - mvn jacoco:report && bash <(curl -s https://codecov.io/bash) || echo "Codecov did not collect coverage reports" - jdk: openjdk11 # Only run the processor and its dependencies # The integration tests are using the maven toolchain and that is not yet ready for Java 11 @@ -25,6 +25,7 @@ deploy: skip_cleanup: true on: branch: master + jdk: oraclejdk8 sudo: required cache: