blob: 7ab0b10305e51b09c319cd94c8bf6e0f991bb4f5 [file] [log] [blame]
cache:
- C:\Users\appveyor\apache-maven-3.3.9 -> appveyor.yml
- C:\Users\appveyor\.m2 -> **\pom.xml
install:
- if not exist C:\Users\appveyor\apache-maven-3.3.9 (
curl -LsS "http://www.apache.org/dyn/closer.cgi?action=download&filename=maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip" > apache-maven-3.3.9-bin.zip &&
unzip apache-maven-3.3.9-bin.zip -d C:\Users\appveyor
)
- SET PATH=C:\Users\appveyor\apache-maven-3.3.9\bin;%PATH%
build_script:
# Maven 3.3.9 requires Java >= 7, but generation of Javadocs requires Java <= 6 (https://github.com/jacoco/jacoco/issues/110)
- mvn -V -B -e verify -Djdk.version=1.6 --toolchains=.travis\appveyor-toolchains.xml
artifacts:
- path: jacoco\target\*.zip