Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Commit

Permalink
CI: wrong bash conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Nov 18, 2018
1 parent 14fd8b4 commit 2d549d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ matrix:

before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" -a "$NO_DOCKER" -ne 1 ]]; then
if [[ "$TRAVIS_OS_NAME" == "linux" -a -z "$NO_DOCKER" ]]; then
docker pull quay.io/pypa/manylinux1_x86_64 && \
docker images && \
docker ps -a
Expand All @@ -61,11 +61,11 @@ before_install:
script:
- pip install -r requirements-dev.txt
- |
if [[ "$TRAVIS_OS_NAME" == "linux" -a "$NO_DOCKER" -ne 1 ]]; then
if [[ "$TRAVIS_OS_NAME" == "linux" -a -z "$NO_DOCKER" ]]; then
docker run --rm -v `pwd`:/io quay.io/pypa/manylinux1_x86_64 /io/.travis/build-wheels.sh
fi
- |
if [[ "$TRAVIS_OS_NAME" == "osx" -o "$NO_DOCKER" -eq 1 ]]; then
if [[ "$TRAVIS_OS_NAME" == "osx" -o ! -z "$NO_DOCKER" ]]; then
pushd core/ && \
make all && \
popd && \
Expand Down

0 comments on commit 2d549d7

Please sign in to comment.