Skip to content

Commit d3daf76

Browse files
committed
Constraint coverage<5 in examples until I figure out why combining is borken.
1 parent 13802bc commit d3daf76

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

ci/templates/.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- stage: examples
3636
{%- for example in ['src', 'adhoc'] %}{{ '' }}
3737
{%+ if not loop.first %}- {% else %} {% endif -%}
38-
python: '3.6'
38+
python: '3.8'
3939
script: cd $TARGET; tox -v
4040
env:
4141
- TARGET=examples/{{ example }}-layout

examples/adhoc-layout/tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = clean,py27,py36,report
2+
envlist = clean,py27,py38,report
33

44
[tool:pytest]
55
addopts =
@@ -10,21 +10,22 @@ commands = pytest --cov --cov-append --cov-config={toxinidir}/.coveragerc {posar
1010
deps =
1111
pytest
1212
pytest-cov
13+
coverage<5
1314
depends =
14-
{py27,py36}: clean
15-
report: py27,py36
15+
{py27,py38}: clean
16+
report: py27,py38
1617

1718
# note that this is necessary to prevent the tests importing the code from your badly laid project
1819
changedir = tests
1920

2021
[testenv:report]
2122
skip_install = true
22-
deps = coverage
23+
deps = coverage<5
2324
commands =
2425
coverage html
2526
coverage report --fail-under=100
2627

2728
[testenv:clean]
2829
skip_install = true
29-
deps = coverage
30+
deps = coverage<5
3031
commands = coverage erase

examples/src-layout/tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = clean,py27,py36,report
2+
envlist = clean,py27,py38,report
33

44
[tool:pytest]
55
testpaths = tests
@@ -11,18 +11,19 @@ commands = pytest --cov --cov-append {posargs:-vv}
1111
deps =
1212
pytest
1313
pytest-cov
14+
coverage<5
1415
depends =
15-
{py27,py36}: clean
16-
report: py27,py36
16+
{py27,py38}: clean
17+
report: py27,py38
1718

1819
[testenv:report]
1920
skip_install = true
20-
deps = coverage
21+
deps = coverage<5
2122
commands =
2223
coverage html
2324
coverage report --fail-under=100
2425

2526
[testenv:clean]
2627
skip_install = true
27-
deps = coverage
28+
deps = coverage<5
2829
commands = coverage erase

0 commit comments

Comments
 (0)