forked from grpc/grpc-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (32 loc) · 954 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
sudo: false
language: java
env:
global:
- LDFLAGS=-L/tmp/proto3-a2/lib
- CXXFLAGS=-I/tmp/proto3-a2/include
- LD_LIBRARY_PATH=/tmp/proto3-a2/lib
- PATH=/tmp/proto3-a2/bin:$PATH
before_install:
- buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a2
- mkdir -p $HOME/.gradle
- echo "checkstyle.ignoreFailures=false" >> $HOME/.gradle/gradle.properties
before_script:
- test -z "$(git status --porcelain)" || (git status && echo Error Working directory is not clean. Forget to commit generated files? && false)
jdk:
- oraclejdk8
os:
- linux
branches:
only:
- master
notifications:
email: false
cache:
directories:
- /tmp/proto3-a2
- $HOME/.m2/repository/io/netty
- $HOME/.gradle/caches/modules-2
- $HOME/.gradle/wrapper
before_cache:
- rm $HOME/.gradle/caches/modules-2/modules-2.lock
- find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete