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