Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix travis tests with double brackets in if statements #52

Merged
merged 2 commits into from
Feb 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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