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.
HikariCP/.travis.yml

38 lines
721 B
YAML

sudo: false
language: java
8 years ago
dist:
- trusty
before_script:
8 years ago
- 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
8 years ago
cache:
directories:
- $HOME/.m2/repository
matrix:
fast_finish: true
include:
- jdk: oraclejdk8
8 years ago
- jdk: oraclejdk9
env:
- JDK=9
install: /bin/true
10 years ago
10 years ago
script:
- mvn package -Dmaven.javadoc.skip=true -V -B
after_success:
- bash <(curl -s https://codecov.io/bash)