From e8deffa5c2cab36401eb7e0913d3ed881e01bd46 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 17 Jun 2016 01:31:46 +0200 Subject: [PATCH] Test: use conda env --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c4c206b..d2d0687 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,10 +24,12 @@ before_install: - ./miniconda.sh -b -p `pwd`/miniconda - export PATH=`pwd`/miniconda/bin:$PATH - conda update --yes conda + - conda create --yes -n condaenv python=$TRAVIS_PYTHON_VERSION + - conda install --yes -n condaenv pip nose + - conda install --yes -n condaenv numpy=1.11.0 scipy=0.17.1 pysal=1.11.1 scikit-learn=0.17.1 install: - - conda install --yes python=$TRAVIS_PYTHON_VERSION pip nose - - conda install --yes numpy=1.11.0 scipy=0.17.1 pysal=1.11.1 scikit-learn=0.17.1 + - source activate condaenv - sudo make install script: make test