Skip to content

Commit

Permalink
Merge pull request #105 from pallets/appveyor-cibuildwheel
Browse files Browse the repository at this point in the history
use cibuildwheel on appveyor
  • Loading branch information
davidism authored Nov 2, 2018
2 parents fbb12f0 + 0e744d2 commit d9270db
Showing 1 changed file with 7 additions and 23 deletions.
30 changes: 7 additions & 23 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d9270db

Please sign in to comment.