2019-06-13 10:39:19 -04:00
|
|
|
dist: trusty
|
2017-12-27 16:24:16 -05:00
|
|
|
language: java
|
|
|
|
|
2019-05-24 04:27:34 -04:00
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: Oracle JDK 8
|
|
|
|
jdk: oraclejdk8
|
2020-11-10 05:10:03 -05:00
|
|
|
- stage: AdoptOpenJDK 11.0.9
|
2019-05-24 04:27:34 -04:00
|
|
|
install:
|
|
|
|
- curl -L -o install-jdk.sh https://github.com/sormuras/bach/raw/master/install-jdk.sh
|
2020-11-10 05:10:03 -05:00
|
|
|
- source ./install-jdk.sh --target ./openjdk11 --url https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9%2B11.1/OpenJDK11U-jdk_x64_linux_hotspot_11.0.9_11.tar.gz
|
2019-05-24 04:27:34 -04:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- java -version
|
2018-05-09 18:30:34 -04:00
|
|
|
- ./gradlew assemble
|
|
|
|
script:
|
2020-10-15 18:20:30 -04:00
|
|
|
- ./gradlew check -Plog-test-progress=true --stacktrace
|
2017-12-27 16:24:16 -05:00
|
|
|
before_cache:
|
|
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
2018-05-10 06:07:33 -04:00
|
|
|
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.bin
|
|
|
|
- rm -f $HOME/.gradle/caches/*/fileHashes/fileHashes.lock
|
2017-12-27 16:24:16 -05:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.gradle/caches/
|
2018-05-09 18:30:34 -04:00
|
|
|
- $HOME/.gradle/wrapper/
|