From be148f298fd43d973bb620ec65d90fcdb5680f0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radim=20=C5=98eh=C5=AF=C5=99ek?= Date: Wed, 21 May 2014 10:26:35 +0200 Subject: [PATCH] use miniconda in travis CI --- .travis.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index f70a39267e..6c205e8e74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,15 @@ python: - "3.3" - "3.4" before_install: - - sudo apt-get update -qq - - sudo apt-get install -qq libatlas-dev liblapack-dev gfortran - - travis_wait pip install --quiet numpy - - travis_wait pip install --quiet scipy + - wget 'http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh' -O miniconda.sh + - chmod +x miniconda.sh + - ./miniconda.sh -b + - export PATH=/home/travis/miniconda/bin:$PATH + - conda update --yes conda + # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda + - sudo rm -rf /dev/shm + - sudo ln -s /run/shm /dev/shm install: - - python setup.py install + - conda install --yes python=$TRAVIS_PYTHON_VERSION pip atlas numpy scipy + - python setup.py install script: python setup.py test