Skip to content

Commit

Permalink
Attempt to fix travis build for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffNN authored Nov 23, 2020
1 parent e292e97 commit d51d903
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ before_install:
- conda info -a

install:
# Environment setup.
- conda env create -f environment.yml python=$TRAVIS_PYTHON_VERSION
- conda activate chop
- python setup.py develop
# The following is only needed for examples and coverage tests
- conda install matplotlib
- pip install tensorboardX cox requests
- pip install advertorch copt
- pip install git+https://github.com/RobustBench/robustbench
- pip install pytest advertorch copt python-coveralls coverage pytest-cov
- pip install python-coveralls coverage pytest-cov

script:
- py.test -v --cov=chop
Expand Down

0 comments on commit d51d903

Please sign in to comment.