Skip to content

Commit

Permalink
Attempt to build MacOS wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
lelit committed Sep 10, 2017
1 parent 5df60c5 commit 6c6ed9d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ matrix:
- sudo: required
services:
- docker
# - os: osx
# language: generic
# env:
# - PY_VERSION=3
- os: osx
osx_image: xcode8.3

env:
global:
Expand All @@ -35,11 +33,13 @@ env:
- TWINE_USERNAME=lelit
# Note: TWINE_PASSWORD is set in Travis settings

install: pip install -r requirements-test.txt
install:
- if [ $TRAVIS_OS_NAME = osx ]; then brew install python3; fi
- pip3 install -r requirements-test.txt

script:
- pip install . && pytest tests
- pip install cibuildwheel==0.5.0
- pip3 install . && pytest tests
- pip3 install cibuildwheel==0.5.0
- cibuildwheel --output-dir wheelhouse
- |
if [[ $TRAVIS_TAG ]]; then
Expand Down

0 comments on commit 6c6ed9d

Please sign in to comment.