From 42d30b4d1a34ef89be4275c49b4d658246b6c82d Mon Sep 17 00:00:00 2001 From: David Hoese Date: Sat, 26 Jan 2019 22:40:46 -0600 Subject: [PATCH 1/2] Try using two square brackets for travis installs --- ci/travis-install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/travis-install.sh b/ci/travis-install.sh index 858c1d3..d25c66f 100644 --- a/ci/travis-install.sh +++ b/ci/travis-install.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -if [ "${BUILDMODE}" = "ASTROPY" ]; then +if [[ "${BUILDMODE}" == "ASTROPY" ]]; then git clone --depth 1 git://github.com/astropy/ci-helpers.git source ci-helpers/travis/setup_conda.sh -elif [ "${BUILDMODE}" = "CIBUILDWHEEL" ]; then +elif [[ "${BUILDMODE}" == "CIBUILDWHEEL" ]]; then export PIP=pip - if [ $(uname) = "Darwin" ]; then + if [[ $(uname) == "Darwin" ]]; then export PIP=pip2 fi $PIP install cibuildwheel==0.10.0 From d97b8a21f019f049e653eed019d102a925c84903 Mon Sep 17 00:00:00 2001 From: David Hoese Date: Tue, 5 Feb 2019 08:35:32 -0600 Subject: [PATCH 2/2] Remove cibuildwheel version limit in CI environments --- appveyor.yml | 2 +- ci/travis-install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 6f4fff0..7eae7b3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -49,7 +49,7 @@ install: build: false # Not a C# project, build stuff at the test step instead. build_script: - - if [%CIBUILDWHEEL%]==[1] pip install cibuildwheel==0.10.0 + - if [%CIBUILDWHEEL%]==[1] pip install cibuildwheel - if [%CIBUILDWHEEL%]==[1] cibuildwheel --output-dir dist - if [%CIBUILDWHEEL%]==[1] powershell ci/appveyor-twine.ps1 diff --git a/ci/travis-install.sh b/ci/travis-install.sh index d25c66f..0162d19 100644 --- a/ci/travis-install.sh +++ b/ci/travis-install.sh @@ -8,5 +8,5 @@ elif [[ "${BUILDMODE}" == "CIBUILDWHEEL" ]]; then if [[ $(uname) == "Darwin" ]]; then export PIP=pip2 fi - $PIP install cibuildwheel==0.10.0 + $PIP install cibuildwheel fi \ No newline at end of file