You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
721 B
YAML
38 lines
721 B
YAML
sudo: false
|
|
language: java
|
|
|
|
dist:
|
|
- trusty
|
|
|
|
before_script:
|
|
- if [[ "x$JDK" == *'x9'* ]]; then export MAVEN_SKIP_RC=true; fi
|
|
|
|
script:
|
|
- export JDK8_HOME=$(jdk_switcher home oraclejdk8)
|
|
- export JDK9_HOME=/usr/lib/jvm/java-9-oracle
|
|
- test -d "${JDK9_HOME}" || export JDK9_HOME=$(jdk_switcher home oraclejdk8)
|
|
|
|
before_cache:
|
|
# No sense in caching current build artifacts
|
|
- rm -rf $HOME/.m2/repository/com/zaxxer
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2/repository
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- jdk: oraclejdk8
|
|
- jdk: oraclejdk9
|
|
env:
|
|
- JDK=9
|
|
|
|
install: /bin/true
|
|
|
|
script:
|
|
- mvn package -Dmaven.javadoc.skip=true -V -B
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|