hibernate-orm/.travis.yml

27 lines
882 B
YAML
Raw Normal View History

dist: trusty
2017-12-27 16:24:16 -05:00
language: java
jobs:
include:
- stage: Oracle JDK 8
jdk: oraclejdk8
- stage: AdoptOpenJDK 11.0.9
install:
- curl -L -o install-jdk.sh https://github.com/sormuras/bach/raw/master/install-jdk.sh
- 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
before_script:
- java -version
- ./gradlew assemble
script:
- ./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/
- 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/
- $HOME/.gradle/wrapper/