-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
31 lines (27 loc) · 1.15 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
build: off
clone_depth: 5
configuration: Release
environment:
PKG_NAME: chi2comb
CIBW_BEFORE_BUILD_WINDOWS: call ci\before-build-win.bat && call install-chi2comb.bat
CIBW_TEST_COMMAND: "python -c \"import %PKG_NAME%; import sys; sys.exit(%PKG_NAME%.test())\""
matrix:
- platform: x64
ARCH: x64
PYTHON: C:\Python36-x64
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* *-win32
install:
- call ci\before-build-win.bat
- call install-chi2comb.bat
- "%PYTHON%\\python.exe -m pip install cibuildwheel>=0.9.2"
build_script:
- copy "%PYTHON%\\python.exe" "%PYTHON%\\python3.exe"
- cd %APPVEYOR_BUILD_FOLDER%
- ci\set-win-path.bat
- powershell -Command "(New-Object Net.WebClient).DownloadFile('https://raw.githubusercontent.com/horta/ci/master/appveyor.bat', 'appveyor.bat')" && appveyor.bat
- copy "%programfiles%\\chi2comb\\bin\\chi2comb.dll" chi2comb\
- "%PYTHON%\\python.exe -m cibuildwheel --output-dir wheelhouse"
- if [%APPVEYOR_REPO_TAG%]==[true] (%PYTHON%\python.exe -m pip install twine && %PYTHON%\python.exe -m twine upload --skip-existing wheelhouse/*)
artifacts:
- path: "wheelhouse\\*.whl"
name: Wheels