Skip to content

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
  • Loading branch information
maxibor committed Mar 2, 2020
1 parent 2b32b89 commit ade3d46
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,9 @@ python:
- "3.6"
install:
- sudo apt-get update
# We do this conditionally because it saves us some downloading if the
# version is the same.
- 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
# Useful for debugging any issues with conda
- conda info -a

# Replace dep1 dep2 ... with your dependencies
- conda env create -f conda_env.yaml
- source activate sourcepredict
script:
- python sourcepredict -s data/test/training/test_sources.csv -l data/test/training/test_labels.csv data/test/testing/test_data.csv
- python setup.py install
- sourcepredict -s data/test/training/test_sources.csv -l data/test/training/test_labels.csv data/test/testing/test_data.csv
- pytest --cov sourcepredictlib tests
after_success:
- coveralls
Expand Down

0 comments on commit ade3d46

Please sign in to comment.