hibernate-orm/.travis.yml

26 lines
827 B
YAML
Raw Normal View History

2017-12-27 16:24:16 -05:00
language: java
jobs:
include:
- stage: Oracle JDK 8
jdk: oraclejdk8
- stage: AdoptOpenJDK 11.0.3
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.3%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.tar.gz
before_script:
- java -version
- ./gradlew assemble
script:
- ./gradlew check
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/