-
Notifications
You must be signed in to change notification settings - Fork 27
/
appveyor.yml
35 lines (32 loc) · 1.2 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
environment:
matrix:
- Architecture: x86
Compiler: vs2015
- Architecture: x64
Compiler: vs2015
- Architecture: x86
Compiler: vs2008
- Architecture: x64
Compiler: vs2008
PYTHON_ARCH: 64
PATCH_VS2008: True
install:
- cmd: git submodule update --init --recursive
- ps: install-module pscx -scope CurrentUser -AllowClobber
- ps: >-
if ($env:PATCH_VS2008 -eq 'True') {
# http://scikit-ci-addons.readthedocs.io/en/latest/addons.html#patch-vs2008-py
C:\Python27\python -m pip install scikit-ci-addons
C:\Python27\python -m ci_addons appveyor/patch_vs2008
# http://help.appveyor.com/discussions/kb/38-visual-studio-2008-64-bit-builds
Copy-Item "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat" "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat"
}
build: off
build_script:
- ps: >-
$x64param = if ($env:Architecture -eq 'x64') { $true } else { $false }
$vs2008param = if ($env:Compiler -eq 'vs2008') { $true } else { $false }
.\build.ps1 -x64:$x64param -vs2008:$vs2008param
test: off
test_script:
- ps: Get-ChildItem dist\*.zip | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }