aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorBogdan Drutu <bdrutu@google.com>2017-02-23 16:05:09 -0800
committerBogdan Drutu <bdrutu@google.com>2017-02-23 19:37:46 -0800
commita1517a52b94be565f991cfd84bb14989276d9e43 (patch)
treed020e86eb449af2db4b23e1854e43e7e73fac7de /.travis.yml
parent3071ae6d444becb385534c2649a0dfcd27cb6bef (diff)
downloadopencensus-java-a1517a52b94be565f991cfd84bb14989276d9e43.tar.gz
Release the instrumentation trace API.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 464f2e4d..fe6417b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -49,10 +49,13 @@ install:
# It undeprecates DoubleSubject.isEqualTo(Double).
# TODO(sebright) Find a way to disable the "cast" warning only for Protocol Buffer generated code.
+
+# TODO(bdrutu): Find a way to enable try. We use try-with-resources without
+# using the local variable.
script:
- case "$BUILD" in
"BAZEL")
- bazel test ... --javacopt=-Werror --javacopt=-Xlint:all --javacopt=-Xlint:-cast --javacopt=-Xlint:-deprecation ;;
+ bazel test ... --javacopt=-Werror --javacopt=-Xlint:all --javacopt=-Xlint:-cast --javacopt=-Xlint:-deprecation --javacopt=-Xlint:-try ;;
"MVN")
case "$TRAVIS_JDK_VERSION" in
"openjdk6")