-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
27 lines (27 loc) · 1.05 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
version: 0.2.{build}
environment:
global:
PYTHON: "C:\\Python35"
install:
- set PATH=%cd%/.bins;%PYTHON%;%PYTHON%/Scripts;%PATH%
- python --version
- pip install deepdiff coveralls
- mkdir -p .bins
- cd .bins
- powershell "(New-Object Net.WebClient).DownloadFile('https://github.com/martine/ninja/releases/download/v1.6.0/ninja-win.zip','ninja.zip')"
- powershell "(new-object -com shell.application).namespace($pwd.Path).CopyHere((new-object -com shell.application).namespace(\"$pwd\ninja.zip\").Items(),16)"
- ninja --version
- cd ..
build: off
test_script:
- call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
- cd tools
- coverage run --source=.. --omit=tests.py tests.py --compiler msc
- python deploy.py
- python __init__.py --selftest
- cd ..
- cd examples\console_app\simple
- python ..\..\..\buildfox.py --ide vs --ide-env "copy NUL _test1.txt"
- msbuild build.vcxproj /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- if not exist _test1.txt "exit 1"
- cd ..\..\..