forked from validator/validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
35 lines (29 loc) · 963 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
version: "{build}"
clone_depth: 5
environment:
PYTHON: C:\Python34-x64
BUILD_PY: .\build\build.py
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- JAVA_HOME: C:\Program Files\Java\jdk9
- JAVA_HOME: C:\Program Files\Java\jdk10
- JAVA_HOME: C:\Program Files\Java\jdk11
install:
- set PATH=%PYTHON%;%PYTHON%\Scripts;%JAVA_HOME%\bin;%PATH%
- java -version
- python --version
- python %BUILD_PY% update-shallow
- appveyor-retry python %BUILD_PY% dldeps
build_script:
- appveyor-retry python %BUILD_PY% build
test_script:
- python %BUILD_PY% check
- python %BUILD_PY% test
- python %BUILD_PY% jar
- java -jar .\build\dist\vnu.jar .\build\dist\index.html
- java -jar .\build\dist\vnu.jar .\site\nu-about.html
- python %BUILD_PY% war
cache:
# cache the dependencies folder, and invalidate the cache
# if any of the files right of the arrow change
- 'dependencies -> .appveyor.yml,%BUILD_PY%,build\build.xml'