Skip to content

Commit

Permalink
trying to make the coverage tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
Clara Brasseur committed Jul 13, 2020
1 parent a26315f commit fd16a40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
15 changes: 1 addition & 14 deletions .travis.yml
Expand Up @@ -156,17 +156,4 @@ after_success:
- if [[ $TOXENV == *-cov ]]; then
pip install coveralls;
coveralls;
fi



# if either coveralls or codecov is used, uncomment the if and fi statements
# and the appropriate two lines inside the if statement
# - if [[ $TOXENV == *-cov ]]; then
# # If coveralls.io is set up for this package, uncomment the two lines below.
# pip install coveralls;
# coveralls;
# # If codecov is set up for this package, uncomment the two lines below
# pip install codecov;
# codecov;
# fi
fi
1 change: 1 addition & 0 deletions tox.ini
Expand Up @@ -64,6 +64,7 @@ commands =
pip freeze
!cov: pytest --pyargs astrocut {toxinidir}/docs {posargs}
cov: pytest --pyargs astrocut {toxinidir}/docs --cov astrocut --cov-config={toxinidir}/setup.cfg {posargs}
cov: coverage xml -o {toxinidir}/coverage.xml

[testenv:build_docs]
changedir = docs
Expand Down

0 comments on commit fd16a40

Please sign in to comment.