Skip to content

Commit

Permalink
Update travis to use conda
Browse files Browse the repository at this point in the history
  • Loading branch information
moeyensj authored Mar 14, 2019
1 parent f2edc56 commit 76cb68e
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 76cb68e

Please sign in to comment.