Skip to content

Commit 1cddc23

Browse files
committed
Run tox against versions of Python I can still install
1 parent febd6c2 commit 1cddc23

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

tox.ini

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[tox]
22
minversion=1.9.0
3-
envlist=py{26,27,34,35}-{test,covr},docs,py{27,34,35}-lint
3+
envlist=py{26,27,34,35,36,37,38,39,310}-{test,covr},docs,py{27,34,35,36,37,38,39,310}-lint
44

55
[testenv]
66
commands=
7-
test: py.test riemann_client tests
7+
test: pytest riemann_client tests
88
lint: flake8 --config tox.ini riemann_client tests
9-
covr: coverage run --rcfile tox.ini --source riemann_client --module py.test
9+
covr: coverage run --rcfile tox.ini --source riemann_client --module pytest
1010
covr: coverage report --rcfile tox.ini
1111
deps=
1212
test: pytest
@@ -15,7 +15,7 @@ deps=
1515
covr: coverage
1616

1717
[pytest]
18-
addopts=-qq --strict --tb=short
18+
addopts=-qq --tb=short
1919

2020
[flake8]
2121
exclude=riemann_client/riemann_py*_pb2.py
@@ -38,7 +38,7 @@ exclude_lines=
3838
# $ tox -e docs && firefox docs/_build/index.hmtl
3939

4040
[testenv:docs]
41-
basepython=python2.7
41+
basepython=python3.10
4242
commands=sphinx-build -q -QE docs/ docs/_build/
4343
deps=
4444
sphinx
@@ -47,10 +47,6 @@ deps=
4747
# Build a source package and python2/3 specific wheel packages
4848
# $ tox -e "py{27,35}-release"
4949

50-
[testenv:py27-release]
51-
commands=python setup.py bdist_wheel upload
52-
deps=wheel
53-
54-
[testenv:py35-release]
50+
[testenv:py310-release]
5551
commands=python setup.py sdist bdist_wheel upload
5652
deps=wheel

0 commit comments

Comments
 (0)