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

28 lines
571 B
YAML

sudo: false
language: java
dist:
- trusty
before_cache:
# No sense in caching current build artifacts
- rm -rf $HOME/.m2/repository/com/zaxxer
cache:
directories:
- $HOME/.m2/repository
install: /bin/true
jdk: oraclejdk8
script:
- export JAVA8_HOME=$JAVA_HOME
# - jdk_switcher use openjdk11
- export JAVA_HOME=$HOME/openjdk11
- $TRAVIS_BUILD_DIR/install-jdk.sh --feature 11 --target $JAVA_HOME
- mvn package --global-toolchains ./travis-toolchains.xml -Dmaven.javadoc.skip=true -V -B
after_success:
- bash <(curl -s https://codecov.io/bash)