Add Appveyor CI: run tests and build wheels for Windows

This commit is contained in:
Dan 2019-06-14 19:38:14 +02:00
parent b0e70b5234
commit 3a8677099e

16
.appveyor.yml Normal file
View File

@ -0,0 +1,16 @@
environment:
CIBW_BUILD: cp34-* cp35-* cp36-* cp37-*
CIBW_BUILD_VERBOSITY: 3
CIBW_TEST_COMMAND: cd {project} && python setup.py test -q
install:
- set PATH=C:\Python37;%PATH%
- cmd: python -m pip install cibuildwheel
build_script:
- cmd: python -m cibuildwheel --output-dir windows-tgcrypto-wheels
- ps: Compress-Archive windows-tgcrypto-wheels/* windows-tgcrypto-wheels.zip
artifacts:
- path: "windows-tgcrypto-wheels.zip"
name: wheels