forked from TWCable/grabbit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (22 loc) · 888 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
language: groovy
#The Travis team has approved protobuf 2.4.1 as a "safe" apt package. 2.4.1 is currently the only version available. See full whitelist here : https://github.com/travis-ci/apt-package-whitelist
addons:
apt:
packages:
- protobuf-compiler
#Yeah, we are going to want to cache our build dependencies so our builds aren't held up downloading for every container
cache:
directories:
- $HOME/.gradle
jdk:
- oraclejdk7
- oraclejdk8
- openjdk7
# Allow running on a container instead of a traditional VM
sudo: false
#There is currently an issue in Gradle where a forked JVM will ignore any no-daemon flag (--no-daemon, org.gradle.daemon) for the forked process if jvm args are supplied.
#We remove them to get around this
env:
- GRADLE_OPTS="-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=''"
install: ./gradlew assemble
script: ./gradlew check