-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
34 lines (28 loc) · 949 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
29
30
31
32
33
34
##
## Build with appveyor
##
## https://ci.appveyor.com/project/thomasWeise/utils-math
#
environment:
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.7.0
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
install:
- ps: if(!(Test-Path -Path 'C:\bin\apache-maven-3.2.5\' )){ cinst maven -Version 3.2.5 }
- ps: if(!(Test-Path -Path 'C:\ProgramData\chocolatey\lib\ant\apache-ant-1.9.6\' )){ cinst ant -i -Version 1.9.6 }
# choco does not set the PATH environment variable correctly
# so we do it manually, like
# https://github.com/abelsromero/asciidoctor-maven-plugin/blob/master/appveyor.yml
- cmd: SET PATH=C:\ProgramData\chocolatey\lib\ant\apache-ant-1.9.6\bin;C:\bin\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
cache:
- C:\bin\apache-maven-3.2.5\
- C:\ProgramData\chocolatey\lib\ant\apache-ant-1.9.6
platform:
- x86
- x64
configuration:
- Release
build_script:
- ant
test_script:
- echo "Nothing."