blob: e99f40d133986ca4310a185a7753e57a006f2459 [file] [log] [blame]
Louis Ryanc42c8c42015-03-18 16:31:38 -07001sudo: false
2
3language: java
4
5env:
6 global:
Eric Andersona0acb9b2015-03-20 10:26:00 -07007 - LDFLAGS=-L/tmp/proto3-a2/lib
8 - CXXFLAGS=-I/tmp/proto3-a2/include
9 - LD_LIBRARY_PATH=/tmp/proto3-a2/lib
10 - PATH=/tmp/proto3-a2/bin:$PATH
Louis Ryanc42c8c42015-03-18 16:31:38 -070011
Eric Andersona0acb9b2015-03-20 10:26:00 -070012before_install:
13 - buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a2
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
Louis Ryanc42c8c42015-03-18 16:31:38 -070020jdk:
21 - oraclejdk8
22
23os:
24 - linux
25
26branches:
27 only:
28 - master
29
30notifications:
Eric Andersona0acb9b2015-03-20 10:26:00 -070031 email: false
32
33cache:
34 directories:
35 - /tmp/proto3-a2
Eric Anderson16055782015-03-20 12:03:48 -070036 - $HOME/.m2/repository/io/netty
37 - $HOME/.gradle/caches/modules-2
38 - $HOME/.gradle/wrapper
39
40before_cache:
41 - rm $HOME/.gradle/caches/modules-2/modules-2.lock
Eric Anderson3b54ffa2015-04-29 07:56:04 -070042 - find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete