-
Notifications
You must be signed in to change notification settings - Fork 167
/
appveyor.yml
28 lines (22 loc) · 836 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# http://www.appveyor.com/docs/appveyor-yml
# This is the standard AppVeyor project for the SDK
# It builds pulls requests and merges to master to ensure that no tests have broken
#
# This follows the 3-project AppVeyor/Maven pattern established in https://github.com/dblock/log4jna/blob/master/AppVeyorMavenRelease.md
# https://www.appveyor.com/docs/build-environment/#java
# Use the standard "Visual Studio 2015" image, since that has all the required Maven tools
environment:
JAVA_HOME: C:\Program Files\Java\jdk1.8.0
M2: $(USERPROFILE)\.m2
install:
# Log versions for debugging
- java -version
- mvn --version
build_script:
- mvn -B clean install -Djna.nosys=true
# Maven runs the tests as part of the build, so we don't need to run them again
test: off
cache:
# Cache Maven and m.2
- '%MAVEN_HOME%'
- '%M2%'