-
Notifications
You must be signed in to change notification settings - Fork 21
/
appveyor.yml
40 lines (31 loc) · 1.13 KB
/
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
36
37
38
39
40
version: "{branch} {build}"
environment:
global:
CYG_ROOT: C:/cygwin
CYG_CACHE: C:/cygwin/var/cache/setup
CYG_MIRROR: http://mirrors.kernel.org/sourceware/cygwin/
CYG_ARCH: x86
matrix:
- JAVA_HOME: C:\Program Files\Java\jdk1.8.0
- JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
init:
- 'echo System architecture: %PLATFORM%'
install:
- 'appveyor DownloadFile http://cygwin.com/setup-%CYG_ARCH%.exe -FileName setup.exe'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P make -P git -P gcc-core -P ocaml -P ocaml-camlp4 -P ocaml-compiler-libs -P libncurses-devel -P unzip >NUL'
- 'setup.exe -qnNdO -R "%CYG_ROOT%" -s "%CYG_MIRROR%" -l "%CYG_CACHE%" -P libmpfr-devel -P patch -P flexdll >NUL'
- '%CYG_ROOT%/bin/bash -lc "cygcheck -dc cygwin"'
build:
verbosity: detailed
build_script:
- gradlew.bat assemble
- gradlew.bat build
- gradlew.bat jar
- gradlew.bat javadoc
- '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && ./release.sh nightly"'
test_script:
- gradlew.bat check
cache:
- C:\Users\appveyor\.gradle
matrix:
fast_finish: true