From 6ea52ffeb4c2af8c21eb627feefe136c944d5736 Mon Sep 17 00:00:00 2001 From: TLINDEN Date: Sun, 26 Apr 2015 16:34:10 +0200 Subject: [PATCH] why, 4 --- appveyor.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index c953242..b4e7606 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,9 +2,14 @@ environment: global: CYG_ROOT: C:\cygwin CYG_BASH: C:\cygwin\bin\bash + CYG_MIRROR: http://cygwin.mirror.constant.com + CYG_CACHE: C:\cygwin\var\cache\setup os: unstable +cache: + - '%CYG_CACHE%' + platform: - Win32 @@ -13,15 +18,17 @@ test: off init: - git config --global core.autocrlf input +install: + - ps: 'Start-FileDownload "http://cygwin.com/setup-x86.exe" -FileName "setup-x86.exe"' + - 'setup-x86.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages bind,netcat > NUL 2>&1' + - '%CYG_BASH% -lc "cygcheck -dc cygwin"' + build_script: - '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0