Skip to content

Commit

Permalink
Bring back the old develop envs so that pyx coverage can be recorded.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jun 3, 2019
1 parent e87d36c commit a0cabd4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
[paths]
source =
src/hunter
*/site-packages/hunter

[run]
branch = true
source =
hunter
source = src
parallel = true
plugins = Cython.Coverage

Expand Down
12 changes: 7 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ envlist =
ignore_basepython_conflict = true

[testenv]
wheel = true
basepython =
pypy: {env:TOXPYTHON:pypy}
pypy3: {env:TOXPYTHON:pypy3}
Expand All @@ -25,7 +24,7 @@ setenv =
PYTHONUNBUFFERED=yes
{docs,pure}: PUREPYTHONHUNTER=yes
{docs,pure}: SETUPPY_NOEXT=yes
cover: SETUPPY_CFLAGS=-DCYTHON_TRACE=1
{cover}: SETUPPY_CFLAGS=-DCYTHON_TRACE=1
passenv =
*
deps =
Expand All @@ -41,9 +40,14 @@ deps =
setuptools-scm
commands =
{py27,py33,py34,py35,py36,py36,py37,py38}: python tests/setup.py clean --all build_ext --force --inplace
cover: python setup.py clean --all build_ext --force --inplace
nocov: {posargs:pytest -vv --ignore=src}
cover: {posargs:pytest --cov --cov-report=term-missing -vv}

install_command =
python -m pip install --no-use-pep517 {opts} {packages}
usedevelop =
nocov: false
cover: true
[testenv:bootstrap]
deps =
jinja2
Expand Down Expand Up @@ -87,8 +91,6 @@ deps =
deps =
-r{toxinidir}/docs/requirements.txt
usedevelop = true
install_command =
python -m pip install --no-use-pep517 {opts} {packages}
commands =
sphinx-build {posargs:-E} -b html docs dist/docs
sphinx-build -b linkcheck docs dist/docs
Expand Down

0 comments on commit a0cabd4

Please sign in to comment.