.travis.yml
language: java
env:
global:
- M2_HOME=${HOME}/apache-maven-3.5.0 PATH=${M2_HOME}/bin:${PATH}
cache:
directories:
- "$HOME/.m2/repository"
- "$HOME/apache-maven-3.5.0"
before_install:
- if [ ! -d "${M2_HOME}"/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz | tar zxf - -C "${HOME}"; fi
install:
- mvn install -T 2.0C -DrepoToken=${repoToken}
after_success:
- mvn clean -T 2.0C cobertura:cobertura org.eluder.coveralls:coveralls-maven-plugin:report
jdk:
- openjdk8