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 Synchrotron-Radiation-Workshop#2 πŸ‘
Browse files Browse the repository at this point in the history
  • Loading branch information
mrakitin committed Nov 18, 2018
1 parent 2d549d7 commit 0fc44b6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand All @@ -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 && \
Expand Down

0 comments on commit 0fc44b6

Please sign in to comment.