Skip to content

Commit

Permalink
Pin lower version of coverage, due to breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdekoning committed Jan 10, 2020
1 parent ad52eca commit b7307ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ install:
- wget https://repo.anaconda.com/pkgs/misc/conda-execs/conda-latest-$TRAVIS_OS_NAME-64.exe -O conda.exe
- chmod +x conda.exe
- export CONDA_ALWAYS_YES=1
- ./conda.exe create -p $HOME/miniconda -c conda-forge python=$PYENV conda conda-build pytest pytest-qt pytest-mock pytest-cov python-coveralls
- ./conda.exe create -p $HOME/miniconda -c conda-forge python=$PYENV conda conda-build pytest pytest-qt pytest-mock pytest-cov python-coveralls "coverage<5.0"
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
# Useful for debugging any issues with conda
Expand All @@ -42,7 +42,7 @@ before_script:

script:
# Run tests on the installed package, also do code coverage in linux.
- py.test --cov=activity_browser;
- py.test -v --cov=activity_browser;

after_success:
# Only upload the code coverage from linux py37 machine
Expand Down

0 comments on commit b7307ce

Please sign in to comment.