Added jdk14 to CIs.

This commit is contained in:
Erik C. Thauvin 2021-03-21 18:27:31 -07:00
parent e60303773a
commit 026456218e
2 changed files with 42 additions and 42 deletions

View file

@ -5,30 +5,22 @@ env:
global:
- CI=true
jdk:
- oraclejdk8
#install:
# - git fetch --unshallow --tags
addons:
sonarcloud:
organization: "ethauvin-github"
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
jdk:
- oraclejdk8
- openjdk14
before_install:
- chmod +x gradlew
script:
- ./gradlew check
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
after_success:
- |
if [ "${TRAVIS_TEST_RESULT}" == 0 ]; then
if [ "${TRAVIS_TEST_RESULT}" == 0 ] && [ "$TRAVIS_JDK_VERSION" == "openjdk14" ]; then
./gradlew sonarqube
fi