summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2018-11-02 11:06:03 -0700
committerDavid Lord <davidism@gmail.com>2018-11-02 12:50:38 -0700
commit0e744d28b8af705cd09bef975b341ef3d8e5b9c2 (patch)
treee90c3e861c51fb9d5b5df14ffe36655213d4aa77
parentfbb12f013cfac41e5a03cc97cca66090ca4c3c28 (diff)
downloadmarkupsafe-appveyor-cibuildwheel.tar.gz
use cibuildwheel on appveyorappveyor-cibuildwheel
-rw-r--r--.appveyor.yml30
1 files changed, 7 insertions, 23 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index a64efd5..44d8333 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,37 +1,21 @@
environment:
global:
- TOXENV: py
-
- matrix:
- - PYTHON: C:\Python37-x64
- - PYTHON: C:\Python37
- - PYTHON: C:\Python36-x64
- - PYTHON: C:\Python36
- - PYTHON: C:\Python35-x64
- - PYTHON: C:\Python35
- - PYTHON: C:\Python34-x64
- - PYTHON: C:\Python34
- - PYTHON: C:\Python27-x64
- - PYTHON: C:\Python27
+ PYTHON: C:\Python37-x64
+ CIBW_TEST_REQUIRES: pytest
+ CIBW_TEST_COMMAND: pytest {project}\tests
init:
- - SET PATH=%PYTHON%;%PATH%
+ - set PATH=%PYTHON%\Scripts;%PYTHON%;%PATH%
install:
- python -m pip install -U pip
- - python -m pip install -U setuptools wheel tox
-
-build: false
-
-test_script:
- - python -m tox --skip-missing-interpreters=false
+ - python -m pip install -U cibuildwheel
-after_test:
- - python setup.py bdist_wheel
+build_script:
+ - python -m cibuildwheel --output-dir dist
artifacts:
- path: dist\*.whl
- type: whl
deploy:
provider: S3