2012-10-19 17:20:13 +08:00
|
|
|
language: java
|
2012-10-20 12:19:49 +08:00
|
|
|
notifications:
|
2014-04-06 16:59:45 +08:00
|
|
|
email: false
|
2014-04-06 17:09:03 +08:00
|
|
|
before_install: chmod +x gradlew
|
2016-02-01 13:25:32 +08:00
|
|
|
install: ./gradlew setupCIWorkspace -s
|
|
|
|
script: ./gradlew build -s
|
2016-02-01 13:23:51 +08:00
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
- oraclejdk7
|
2016-02-01 13:24:59 +08:00
|
|
|
# Caching for Gradle files, prevents hitting Maven too much.
|
|
|
|
before_cache:
|
2016-02-23 11:22:30 +08:00
|
|
|
- find $HOME/.gradle/ -name '*.lock' -print -exec rm -f {} \;
|
2016-02-01 13:24:59 +08:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
2016-02-01 13:27:07 +08:00
|
|
|
|
|
|
|
# Faster builds without sudo.
|
|
|
|
sudo: false
|