-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use cibuildwheel for OSX/Linux
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
Showing
1 changed file
with
9 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |