Skip to content

Commit 5a65a24

Browse files
committed
Move tox requirements into separate files
1 parent fd19162 commit 5a65a24

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.config/.coveragerc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[run]
22
branch = true
3-
source = python_minifier
43
parallel = true
54
context = ${COVERAGE_CONTEXT}
65

.config/.coveragerc-legacy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[run]
22
branch = true
3-
source = python_minifier
43
parallel = true
54

65
[report]

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ setenv =
88
COVERAGE_CONTEXT = {envname}
99
deps = -r{toxinidir}/tox/{envname}-requirements.txt
1010
commands =
11-
pytest {posargs:test --cov --cov-config={toxinidir}/.config/.coveragerc} --junitxml=junit-{envname}.xml --verbose
11+
pytest {posargs:test --cov=python_minifier --cov-config={toxinidir}/.config/.coveragerc} --junitxml=junit-{envname}.xml --verbose
1212

1313
[testenv:python27]
1414
basepython = /usr/bin/python2.7
@@ -19,15 +19,15 @@ setenv =
1919
PYTHONHASHSEED = 0
2020
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
2121
commands =
22-
pytest {posargs:test --cov --cov-config={toxinidir}/.config/.coveragerc-legacy} --junitxml=junit-{envname}.xml --verbose
22+
pytest {posargs:test --cov=python_minifier --cov-config={toxinidir}/.config/.coveragerc-legacy} --junitxml=junit-{envname}.xml --verbose
2323

2424
[testenv:python34]
2525
basepython = /usr/bin/python3.4
2626
setenv =
2727
PYTHONHASHSEED = 0
2828
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
2929
commands =
30-
pytest {posargs:test --cov --cov-config={toxinidir}/.config/.coveragerc-legacy} --junitxml=junit-{envname}.xml --verbose
30+
pytest {posargs:test --cov=python_minifier --cov-config={toxinidir}/.config/.coveragerc-legacy} --junitxml=junit-{envname}.xml --verbose
3131

3232
[testenv:python35]
3333
basepython = /usr/bin/python3.5

0 commit comments

Comments
 (0)