Skip to content

Commit

Permalink
Don't use cibuildwheel for OSX/Linux
Browse files Browse the repository at this point in the history
We're using a different strategy for distributing wheels on OSX/linux,
so instead just set up a default travis.yml config file for doing CI
on those platforms
  • Loading branch information
benfred committed Sep 5, 2018
1 parent 934233c commit c2813e5
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
language: python
language: rust
sudo: required

matrix:
include:
- os: osx
language: generic
env:
- PIP=pip2
- PYTHON=python2
- env: TARGET=i686-unknown-linux-gnu
- env: TARGET=x86_64-unknown-linux-gnu
- env: TARGET=i686-apple-darwin
os: osx
- env: TARGET=x86_64-apple-darwin
os: osx

script:
- $PIP install cibuildwheel setuptools_rust
- export CIBW_BEFORE_BUILD='pip install setuptools-rust && source {project}/ci/install_rust.sh'
- export CIBW_SKIP='cp33-* cp34-* $CIBW_SKIP'
- export CIBW_ENVIRONMENT='PATH="$HOME/rust/bin:$PATH"'
- cibuildwheel --output-dir wheelhouse
- |
if [[ $TRAVIS_TAG ]]; then
$PIP install twine
$PYTHON -m twine upload wheelhouse/*.whl
fi
- cargo test --verbose

0 comments on commit c2813e5

Please sign in to comment.