Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 1 | sudo: false |
| 2 | |
| 3 | language: java |
| 4 | |
| 5 | env: |
| 6 | global: |
Eric Anderson | 794fdf1 | 2015-06-17 16:11:23 -0700 | [diff] [blame] | 7 | - 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 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: |
Eric Anderson | 794fdf1 | 2015-06-17 16:11:23 -0700 | [diff] [blame] | 13 | - buildscripts/make_dependencies.sh # build protoc into /tmp/proto3-a3 |
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 | |
Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 20 | jdk: |
| 21 | - oraclejdk8 |
| 22 | |
| 23 | os: |
| 24 | - linux |
| 25 | |
Louis Ryan | c42c8c4 | 2015-03-18 16:31:38 -0700 | [diff] [blame] | 26 | notifications: |
Eric Anderson | a0acb9b | 2015-03-20 10:26:00 -0700 | [diff] [blame] | 27 | email: false |
| 28 | |
| 29 | cache: |
| 30 | directories: |
Eric Anderson | 794fdf1 | 2015-06-17 16:11:23 -0700 | [diff] [blame] | 31 | - /tmp/proto3-a3 |
Eric Anderson | 1605578 | 2015-03-20 12:03:48 -0700 | [diff] [blame] | 32 | - $HOME/.m2/repository/io/netty |
| 33 | - $HOME/.gradle/caches/modules-2 |
| 34 | - $HOME/.gradle/wrapper |
| 35 | |
| 36 | before_cache: |
| 37 | - rm $HOME/.gradle/caches/modules-2/modules-2.lock |
Eric Anderson | 3b54ffa | 2015-04-29 07:56:04 -0700 | [diff] [blame] | 38 | - find $HOME/.gradle/wrapper -not -name "*-all.zip" -and -not -name "*-bin.zip" -delete |