2017-01-04 19:57:59 +00:00
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
|
|
|
|
language: java
|
|
|
|
jdk: oraclejdk8
|
|
|
|
|
|
|
|
env:
|
|
|
|
- BUILD_NUMBER=9999
|
|
|
|
|
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
|
|
- rm -f $HOME/.gradle/caches/minecraft/deobfedDeps/providedDummy.jar
|
|
|
|
- rm -f $HOME/.gradle/caches/minecraft/deobfedDeps/compileDummy.jar
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
|
|
|
- $HOME/.gradle/wrapper/
|
2017-01-11 23:15:00 +00:00
|
|
|
- $TRAVIS_BUILD_DIR/build/localCache/Forge/
|
2017-01-04 19:57:59 +00:00
|
|
|
|
|
|
|
before_install: chmod +x gradlew
|
|
|
|
install:
|
|
|
|
- ./gradlew --refresh-dependencies
|
|
|
|
- ./gradlew ciWriteBuildNumber
|
|
|
|
script:
|
2017-01-11 23:15:00 +00:00
|
|
|
- travis_wait ./gradlew build -x createExe -S
|
2017-06-19 05:52:12 +00:00
|
|
|
- ./gradlew -p projects/Forge test -S -i
|
2017-01-04 19:57:59 +00:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
2019-01-20 04:35:20 +00:00
|
|
|
|
2019-06-07 20:57:18 +00:00
|
|
|
# skip building travis on 1.13+ - it doesn't work there
|
2019-01-20 04:35:20 +00:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- 1.13-pre
|
2019-02-16 22:00:50 +00:00
|
|
|
- 1.13.x
|
2019-06-07 20:57:18 +00:00
|
|
|
- 1.14.x
|
2019-03-14 23:02:08 +00:00
|
|
|
- /^noci-.*$/
|