File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -2,8 +2,14 @@ sudo: false
22
33language : java
44
5+ addons :
6+ apt :
7+ packages :
8+ - wget
9+
510env :
611 global :
12+ - BAZEL_VERSION=0.9.0
713 - GRADLE_OPTS=-Xmx512m
814 - PROTOBUF_VERSION=3.5.1
915 - LDFLAGS=-L/tmp/protobuf/lib
@@ -23,6 +29,9 @@ before_install:
2329 - echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
2430 - echo "failOnWarnings=true" >> $HOME/.gradle/gradle.properties
2531 - echo "errorProne=true" >> $HOME/.gradle/gradle.properties
32+ - mkdir -p /tmp/bazel
33+ - wget -nc "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel_${BAZEL_VERSION}-linux-x86_64.deb" -P /tmp/bazel
34+ - sudo dpkg -i "/tmp/bazel/bazel_${BAZEL_VERSION}-linux-x86_64.deb"
2635
2736install :
2837 - ./gradlew assemble generateTestProto install
@@ -34,6 +43,7 @@ before_script:
3443
3544script :
3645 - ./gradlew check :grpc-all:jacocoTestReport
46+ - bazel build //compiler:all //context:all //core:all //netty:all //okhttp:all //protobuf:all //protobuf-lite:all //protobuf-nano:all //stub:all //testing:all
3747
3848after_success :
3949 - if \[ "$TRAVIS_OS_NAME" = linux \]; then ./gradlew :grpc-all:coveralls; fi
@@ -47,6 +57,7 @@ notifications:
4757
4858cache :
4959 directories :
60+ - /tmp/bazel
5061 - /tmp/protobuf-${PROTOBUF_VERSION}
5162 - /tmp/gradle-caches-modules-2
5263 - /tmp/gradle-wrapper
You can’t perform that action at this time.
0 commit comments