2015-04-26 14:27:41 +02:00
|
|
|
environment:
|
|
|
|
|
global:
|
|
|
|
|
CYG_ROOT: C:\cygwin
|
|
|
|
|
CYG_BASH: C:\cygwin\bin\bash
|
2015-04-26 16:34:10 +02:00
|
|
|
CYG_MIRROR: http://cygwin.mirror.constant.com
|
|
|
|
|
CYG_CACHE: C:\cygwin\var\cache\setup
|
2015-04-26 14:27:41 +02:00
|
|
|
|
|
|
|
|
os: unstable
|
|
|
|
|
|
2015-04-26 16:34:10 +02:00
|
|
|
cache:
|
|
|
|
|
- '%CYG_CACHE%'
|
|
|
|
|
|
2015-04-26 14:27:41 +02:00
|
|
|
platform:
|
|
|
|
|
- Win32
|
|
|
|
|
|
|
|
|
|
test: off
|
|
|
|
|
|
|
|
|
|
init:
|
|
|
|
|
- git config --global core.autocrlf input
|
|
|
|
|
|
2015-04-26 16:34:10 +02:00
|
|
|
install:
|
|
|
|
|
- ps: 'Start-FileDownload "http://cygwin.com/setup-x86.exe" -FileName "setup-x86.exe"'
|
2015-04-26 16:42:55 +02:00
|
|
|
- 'setup-x86.exe --quiet-mode --no-shortcuts --only-site --root "%CYG_ROOT%" --site "%CYG_MIRROR%" --local-package-dir "%CYG_CACHE%" --packages bind,netcat'
|
2015-04-26 16:34:10 +02:00
|
|
|
- '%CYG_BASH% -lc "cygcheck -dc cygwin"'
|
|
|
|
|
|
2015-04-26 14:27:41 +02:00
|
|
|
build_script:
|
|
|
|
|
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; make"'
|
2015-04-26 16:42:55 +02:00
|
|
|
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; cygstart --hide ./udpxd -l 127.0.0.1:53 -d 8.8.8.8:53 -V -f"'
|
|
|
|
|
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; cygstart --hide ./udpxd -l [::1]:53 -d 8.8.8.8:53 -V -f"'
|
2015-04-26 16:27:14 +02:00
|
|
|
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER; exec 0</dev/null; sleep 30"'
|
2015-04-26 16:34:10 +02:00
|
|
|
- 'dig www.google.de soa @127.0.0.1'
|
|
|
|
|
- 'dig www.google.de soa @::1'
|
2015-04-26 15:06:05 +02:00
|
|
|
|
2015-04-26 16:27:14 +02:00
|
|
|
|