diff --git a/.travis.yml b/.travis.yml index 32dc91dbad..59e27d024c 100755 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,14 @@ language: java sudo: required dist: trusty -jdk: - - oraclejdk8 +matrix: + include: + - jdk: oraclejdk8 + env: BUILD_JDK=ORACLE_JDK_8 + - jdk: oraclejdk11 + env: BUILD_JDK=ORACLE_JDK_11 + allow_failures: + - env: BUILD_JDK=ORACLE_JDK_11 after_success: - bash <(curl -s https://codecov.io/bash) \ No newline at end of file diff --git a/sentinel-adapter/sentinel-grpc-adapter/pom.xml b/sentinel-adapter/sentinel-grpc-adapter/pom.xml index d272456067..a5c49174db 100755 --- a/sentinel-adapter/sentinel-grpc-adapter/pom.xml +++ b/sentinel-adapter/sentinel-grpc-adapter/pom.xml @@ -39,6 +39,13 @@ ${grpc.version} provided + + + javax.annotation + javax.annotation-api + 1.2 + + junit