aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-03-28 17:13:39 -0700
committerGitHub <noreply@github.com>2018-03-28 17:13:39 -0700
commit4e82e62eaa549d1f63a6548aa0a6ea1687de618f (patch)
tree1b295d2d60b7a6a47bf6c3796f4477c52a36f5f7 /.travis.yml
parentbdecdaea22ba4e56949be7534aa47306e5b5f758 (diff)
downloadgrpc-grpc-java-4e82e62eaa549d1f63a6548aa0a6ea1687de618f.tar.gz
Fix compilation in Java 9
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index aa15eea7b..7ea9aee3d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -36,12 +36,17 @@ script:
- ./gradlew check :grpc-all:jacocoTestReport
after_success:
- - if \[ "$TRAVIS_OS_NAME" = linux \]; then ./gradlew :grpc-all:coveralls; fi
+ # Upload to coveralls once, instead of for each job in the matrix
+ - if \[\[ "$TRAVIS_JOB_NUMBER" == *.1 \]\]; then ./gradlew :grpc-all:coveralls; fi
- bash <(curl -s https://codecov.io/bash)
os:
- linux
+jdk:
+ - oraclejdk8
+ - oraclejdk9
+
notifications:
email: false