diff options
author | Eric Anderson <ejona@google.com> | 2018-03-28 17:13:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 17:13:39 -0700 |
commit | 4e82e62eaa549d1f63a6548aa0a6ea1687de618f (patch) | |
tree | 1b295d2d60b7a6a47bf6c3796f4477c52a36f5f7 /.travis.yml | |
parent | bdecdaea22ba4e56949be7534aa47306e5b5f758 (diff) | |
download | grpc-grpc-java-4e82e62eaa549d1f63a6548aa0a6ea1687de618f.tar.gz |
Fix compilation in Java 9
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 7 |
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 |