forked from ome/bioformats
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
35 lines (30 loc) · 933 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
35
environment:
AV_PROJECTS: 'c:\projects'
AV_BF_M2: 'c:\projects\m2'
AV_BF_SOURCE: 'c:\projects\bioformats'
# Note that only Oracle JDK is provided.
matrix:
- java: 11
build: maven
- java: 1.8
build: maven
- java: 1.8
build: ant
ant_version: 1.10.1
cache:
- '%AV_BF_M2% -> appveyor.yml'
os: 'Visual Studio 2015'
clone_folder: '%AV_BF_SOURCE%'
clone_depth: 5
platform: x64
init:
- git config --global core.autocrlf input
- if [%build%] == [ant] appveyor-retry cinst -y ant --version %ant_version%
- refreshenv
- 'if [%java%] == [1.8] set "JAVA_HOME=C:\Program Files\Java\jdk1.8.0"'
- 'if [%java%] == [11] set "JAVA_HOME=C:\Program Files\Java\jdk11"'
- PATH=%JAVA_HOME%\bin;%PATH%
- 'if [%build%] == [maven] set "MAVEN_OPTS=-Dmaven.repo.local=%AV_BF_M2%"'
- 'if [%build%] == [ant] set "ANT_OPTS=-Dmaven.repo.local=%AV_BF_M2%"'
build_script:
- tools\test-build %build%