From 76cb68e2d3b0179ec9321780f006ebc718fe8d5d Mon Sep 17 00:00:00 2001 From: Joachim Moeyens Date: Thu, 14 Mar 2019 15:12:40 -0700 Subject: [PATCH] Update travis to use conda --- .travis.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 59e2e6d..db04a4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,8 +12,16 @@ python: - "3.6" install: - - pip install --upgrade setuptools - - pip install -r requirements_travis.txt + - sudo apt-get update + - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh + - bash miniconda.sh -b -p $HOME/miniconda + - export PATH="$HOME/miniconda/bin:$PATH" + - hash -r + - conda config --set always_yes yes --set changeps1 no + - conda update -q conda + - conda info -a + - conda create -q -n difi python=$TRAVIS_PYTHON_VERSION -c defaults -c conda-forge --file requirements_travis.txt + - source activate difi script: - pytest difi --cov=difi