From c2813e57a5807a3718233914eea13c31b80a3a1b Mon Sep 17 00:00:00 2001 From: Ben Frederickson Date: Wed, 5 Sep 2018 13:09:24 -0700 Subject: [PATCH] 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 --- .travis.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1955825e..c4c53763 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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