diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-10 18:39:18 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-04-12 22:00:31 +0200 |
commit | 694cb93bcd227684fe7e84b06f9f26cee1162353 (patch) | |
tree | 01b11df24d59d048b7236cc92aeb3a5560ab4010 | |
parent | 7fcf0d8435e02ab30466274856bf21cc8501cd15 (diff) | |
download | cython-694cb93bcd227684fe7e84b06f9f26cee1162353.tar.gz |
Debug conda issues on travis.
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 1e80e2f4e..3fd0887b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -119,10 +119,12 @@ before_install: fi - | - if [[ "$TRAVIS_OS_NAME" == "osx" ]] || [[ "$STACKLESS" == "true" ]]; then # Install Miniconda - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then CONDA_PLATFORM=MacOSX; else CONDA_PLATFORM=Linux; fi - travis_retry curl -s -o miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-${CONDA_PLATFORM}-x86_64.sh + if [ "$TRAVIS_OS_NAME" == "osx" -o "$STACKLESS" == "true" ]; then + echo "Installing Miniconda" + if [ "$TRAVIS_OS_NAME" == "osx" ]; then CONDA_PLATFORM=MacOSX; else CONDA_PLATFORM=Linux; fi + travis_retry wget -O miniconda.sh https://repo.continuum.io/miniconda/Miniconda$PY-latest-${CONDA_PLATFORM}-x86_64.sh bash miniconda.sh -b -p $HOME/miniconda && rm miniconda.sh + conda --version #conda install --quiet --yes nomkl --file=test-requirements.txt --file=test-requirements-cpython.txt if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which clang && clang --version && export CC=clang || true |