blob: fa3c7599930455b95254089b7a861ebbcff3cd33 [file] [log] [blame]
Louis Ryanc42c8c42015-03-18 16:31:38 -07001sudo: false
2
3language: java
4
5env:
6 global:
Eric Anderson794fdf12015-06-17 16:11:23 -07007 - LDFLAGS=-L/tmp/proto3-a3/lib
8 - CXXFLAGS=-I/tmp/proto3-a3/include
9 - LD_LIBRARY_PATH=/tmp/proto3-a3/lib
10 - PATH=/tmp/proto3-a3/bin:$PATH
Louis Ryanc42c8c42015-03-18 16:31:38 -070011
Eric Andersona0acb9b2015-03-20 10:26:00 -070012before_install:
Eric Anderson794fdf12015-06-17 16:11:23 -070013 - buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a3
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
Louis Ryanc42c8c42015-03-18 16:31:38 -070026notifications:
Eric Andersona0acb9b2015-03-20 10:26:00 -070027 email: false
28
29cache:
30 directories:
Eric Anderson794fdf12015-06-17 16:11:23 -070031 - /tmp/proto3-a3
Eric Anderson16055782015-03-20 12:03:48 -070032 - $HOME/.m2/repository/io/netty
33 - $HOME/.gradle/caches/modules-2
34 - $HOME/.gradle/wrapper
35
36before_cache:
37 - rm $HOME/.gradle/caches/modules-2/modules-2.lock
Eric Anderson3b54ffa2015-04-29 07:56:04 -070038 - find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete