Skip to content

Commit

Permalink
use cibuildwheel on appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Nov 2, 2018
1 parent fbb12f0 commit 96da7be
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,25 @@
environment:
global:
TOXENV: py

PYTHON: C:\Python37-x64
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
- TOXENV: py,codecov
- 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
- if defined TOXENV ( python -m pip install -U tox )
- if not defined TOXENV ( python -m pip install -U cibuildwheel )

after_test:
- python setup.py bdist_wheel
build_script:
- if defined TOXENV ( python -m tox )
- if not defined TOXENV ( python -m cibuildwheel --output-dir dist )

artifacts:
- path: dist\*.whl
type: whl

deploy:
provider: S3
Expand Down

0 comments on commit 96da7be

Please sign in to comment.