blob: b25e182ba3a9b3f8d9ca1a65123ebfcd9d1ad8d4 [file] [log] [blame]
Louis Ryanc42c8c42015-03-18 16:31:38 -07001sudo: false
2
3language: java
4
5env:
6 global:
Kun Zhangbd23a8d2015-08-28 18:47:06 -07007 - PROTOBUF_VERSION=3.0.0-beta-1
8 - LDFLAGS=-L/tmp/protobuf-${PROTOBUF_VERSION}/lib
9 - CXXFLAGS=-I/tmp/protobuf-${PROTOBUF_VERSION}/include
10 - LD_LIBRARY_PATH=/tmp/protobuf-${PROTOBUF_VERSION}/lib
Louis Ryanc42c8c42015-03-18 16:31:38 -070011
Eric Andersona0acb9b2015-03-20 10:26:00 -070012before_install:
Kun Zhangbd23a8d2015-08-28 18:47:06 -070013 - buildscripts/make_dependencies.sh # build protoc into /tmp/protobuf-${PROTOBUF_VERSION}
Eric Anderson26141b42015-03-21 10:59:17 -070014 - mkdir -p $HOME/.gradle
15 - echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
Louis Ryanc42c8c42015-03-18 16:31:38 -070016
Eric Anderson34571992015-05-07 17:00:44 -070017before_script:
18 - test -z "$(git status --porcelain)" || (git status && echo Error Working directory is not clean. Forget to commit generated files? && false)
19
Eric Anderson522580d2015-08-07 18:02:31 -070020after_success:
21 - ./gradlew :grpc-all:coveralls
22
Louis Ryanc42c8c42015-03-18 16:31:38 -070023jdk:
24 - oraclejdk8
25
26os:
27 - linux
28
Louis Ryanc42c8c42015-03-18 16:31:38 -070029notifications:
Eric Andersona0acb9b2015-03-20 10:26:00 -070030 email: false
31
32cache:
33 directories:
Kun Zhangbd23a8d2015-08-28 18:47:06 -070034 - /tmp/protobuf-${PROTOBUF_VERSION}
Eric Anderson16055782015-03-20 12:03:48 -070035 - $HOME/.m2/repository/io/netty
36 - $HOME/.gradle/caches/modules-2
37 - $HOME/.gradle/wrapper
38
39before_cache:
40 - rm $HOME/.gradle/caches/modules-2/modules-2.lock
Eric Anderson3b54ffa2015-04-29 07:56:04 -070041 - find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete