Skip to content

Commit

Permalink
cov on success
Browse files Browse the repository at this point in the history
  • Loading branch information
Synss committed Sep 17, 2019
1 parent f7757ba commit 53990db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
19 changes: 6 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,30 +130,23 @@ jobs:
eval "$(pyenv init -)"
pyenv shell 2.7.15 3.4.10 3.5.7 3.6.8 3.7.3
. venv/bin/activate
tox -q -p auto -e py27,py34,py35,py36,py37
tox -q -p auto -e py27,py34,py35,py36,py37,doctest
- run:
name: run coverage and docs tests
name: Measure coverage
when: on_success
command: |
eval "$(pyenv init -)"
pyenv shell 3.7.3
. venv/bin/activate
tox -q -p auto -e coverage,doctest
tox -q -p auto -e coverage
PYTHONPATH=src coverage report
PYTHONPATH=src coverage html
PYTHONPATH=src coveralls
- run:
name: save coverage report
when: on_success
command: |
mkdir -p out/
cp -R htmlcov/ out/htmlcov/
eval "$(pyenv init -)"
pyenv shell 3.7.3
. venv/bin/activate
# PYTHONPATH=src coverage html
PYTHONPATH=src coveralls
- run:
name: build API documentation
command: |
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ setenv = PYTHONPATH = {toxinidir}/src
commands =
{envpython} setup.py --with-coverage build_ext -i
{envpython} -m pytest --basetemp={envtmpdir} --cov=src tests/
coverage html

[testenv:doctest]
basepython = python3.7
Expand Down

0 comments on commit 53990db

Please sign in to comment.