Skip to content

Commit

Permalink
Merge pull request #52 from pytroll/bugfix-osx-tests
Browse files Browse the repository at this point in the history
Fix travis tests with double brackets in if statements
  • Loading branch information
djhoese authored Feb 5, 2019
2 parents 9d75423 + d97b8a2 commit e3c80f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 4 additions & 4 deletions ci/travis-install.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/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
$PIP install cibuildwheel
fi

0 comments on commit e3c80f0

Please sign in to comment.