Evgeny Mandrikov | a97c034 | 2016-05-17 21:09:30 +0200 | [diff] [blame] | 1 | cache: |
| 2 | - C:\Users\appveyor\apache-maven-3.3.9 -> appveyor.yml |
| 3 | - C:\Users\appveyor\.m2 -> **\pom.xml |
| 4 | |
Evgeny Mandrikov | a6bcbe3 | 2016-05-04 22:20:20 +0200 | [diff] [blame] | 5 | install: |
Evgeny Mandrikov | a97c034 | 2016-05-17 21:09:30 +0200 | [diff] [blame] | 6 | - if not exist C:\Users\appveyor\apache-maven-3.3.9 ( |
| 7 | 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 && |
| 8 | unzip apache-maven-3.3.9-bin.zip -d C:\Users\appveyor |
| 9 | ) |
| 10 | - SET PATH=C:\Users\appveyor\apache-maven-3.3.9\bin;%PATH% |
Evgeny Mandrikov | a6bcbe3 | 2016-05-04 22:20:20 +0200 | [diff] [blame] | 11 | |
| 12 | build_script: |
Evgeny Mandrikov | e19e193 | 2016-05-15 23:14:16 +0200 | [diff] [blame] | 13 | # Maven 3.3.9 requires Java >= 7, but generation of Javadocs requires Java <= 6 (https://github.com/jacoco/jacoco/issues/110) |
Marc R. Hoffmann | ea54810 | 2016-05-23 08:59:18 +0200 | [diff] [blame] | 14 | - mvn -V -B -e verify -Djdk.version=1.6 --toolchains=.travis\appveyor-toolchains.xml |
Evgeny Mandrikov | e19e193 | 2016-05-15 23:14:16 +0200 | [diff] [blame] | 15 | |
| 16 | artifacts: |
| 17 | - path: jacoco\target\*.zip |