From 0fc44b6af314534f90c90b38b91c26138a4b2fef Mon Sep 17 00:00:00 2001 From: Maksim Rakitin Date: Sun, 18 Nov 2018 18:30:26 -0500 Subject: [PATCH] =?UTF-8?q?CI:=20wrong=20bash=20conditions=20#2=20?= =?UTF-8?q?=F0=9F=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b719e5e..9d6ff06 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,13 +37,13 @@ matrix: before_install: - | - if [[ "$TRAVIS_OS_NAME" == "linux" -a -z "$NO_DOCKER" ]]; then + if [ "$TRAVIS_OS_NAME" == "linux" -a -z "$NO_DOCKER" ]; then docker pull quay.io/pypa/manylinux1_x86_64 && \ docker images && \ docker ps -a fi - | - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then + if [ "$TRAVIS_OS_NAME" == "osx" ]; then pushd ${HOME} wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh && \ bash Miniconda3-latest-MacOSX-x86_64.sh -b -p ${HOME}/conda && \ @@ -61,11 +61,11 @@ before_install: script: - pip install -r requirements-dev.txt - | - if [[ "$TRAVIS_OS_NAME" == "linux" -a -z "$NO_DOCKER" ]]; 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 ! -z "$NO_DOCKER" ]]; then + if [ "$TRAVIS_OS_NAME" == "osx" -o ! -z "$NO_DOCKER" ]; then pushd core/ && \ make all && \ popd && \