Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 1 | sudo: false |
| 2 | |
| 3 | language: java |
| 4 | |
| 5 | env: |
| 6 | global: |
Kun Zhang | bd23a8d | 2015-08-28 18:47:06 -0700 | [diff] [blame^] | 7 | - 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 Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 11 | |
Eric Anderson | a0acb9b | 2015-03-20 10:26:00 -0700 | [diff] [blame] | 12 | before_install: |
Kun Zhang | bd23a8d | 2015-08-28 18:47:06 -0700 | [diff] [blame^] | 13 | - buildscripts/make_dependencies.sh # build protoc into /tmp/protobuf-${PROTOBUF_VERSION} |
Eric Anderson | 26141b4 | 2015-03-21 10:59:17 -0700 | [diff] [blame] | 14 | - mkdir -p $HOME/.gradle |
| 15 | - echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties |
Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 16 | |
Eric Anderson | 3457199 | 2015-05-07 17:00:44 -0700 | [diff] [blame] | 17 | before_script: |
| 18 | - test -z "$(git status --porcelain)" || (git status && echo Error Working directory is not clean. Forget to commit generated files? && false) |
| 19 | |
Eric Anderson | 522580d | 2015-08-07 18:02:31 -0700 | [diff] [blame] | 20 | after_success: |
| 21 | - ./gradlew :grpc-all:coveralls |
| 22 | |
Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 23 | jdk: |
| 24 | - oraclejdk8 |
| 25 | |
| 26 | os: |
| 27 | - linux |
| 28 | |
Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 29 | notifications: |
Eric Anderson | a0acb9b | 2015-03-20 10:26:00 -0700 | [diff] [blame] | 30 | email: false |
| 31 | |
| 32 | cache: |
| 33 | directories: |
Kun Zhang | bd23a8d | 2015-08-28 18:47:06 -0700 | [diff] [blame^] | 34 | - /tmp/protobuf-${PROTOBUF_VERSION} |
Eric Anderson | 1605578 | 2015-03-20 12:03:48 -0700 | [diff] [blame] | 35 | - $HOME/.m2/repository/io/netty |
| 36 | - $HOME/.gradle/caches/modules-2 |
| 37 | - $HOME/.gradle/wrapper |
| 38 | |
| 39 | before_cache: |
| 40 | - rm $HOME/.gradle/caches/modules-2/modules-2.lock |
Eric Anderson | 3b54ffa | 2015-04-29 07:56:04 -0700 | [diff] [blame] | 41 | - find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete |