aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2017-02-24 14:53:23 -0800
committerGitHub <noreply@github.com>2017-02-24 14:53:23 -0800
commit675080b2080da738cb6b02d65f61e7f876f9ebc2 (patch)
tree16d20e2a801b3ec1fff145d290f68ac99a97b007 /.travis.yml
parenta2f15ae61c3e331fa3de942c4d5f59ffe2bae8b2 (diff)
downloadgrpc-grpc-java-675080b2080da738cb6b02d65f61e7f876f9ebc2.tar.gz
all: Enable ErrorProne during compilation
ErrorProne provides static analysis for common issues, including misused variables GuardedBy locks. This increases build time by 60% for parallel builds and 30% for non-parallel, so I've provided a way to disable the check. It is on by default though and will be run in our CI environments.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 30227741a..971833ddb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -22,6 +22,7 @@ before_install:
- mkdir -p $HOME/.gradle
- echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
- echo "failOnWarnings=true" >> $HOME/.gradle/gradle.properties
+ - echo "errorProne=true" >> $HOME/.gradle/gradle.properties
install:
- ./gradlew assemble generateTestProto install