Skip to content

Commit

Permalink
Update test versions
Browse files Browse the repository at this point in the history
  • Loading branch information
avylove committed May 13, 2021
1 parent 2be51a7 commit 3860de5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 18 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ addons:

matrix:
include:
- python: 3.8
- python: 3.9
env: TOXENV=lint

- python: 3.8
- python: 3.9
env: TOXENV=docs

- python: 3.8
env: TOXENV=codecov

- python: 3.9
env: TOXENV=py39
env: TOXENV=codecov

- python: 3.10-dev
env: TOXENV=py310

- python: 3.8
env: TOXENV=py38

- python: 3.7
env: TOXENV=py37

Expand Down
30 changes: 18 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
[tox]
envlist = lint,coverage,py35,py36,py37,py39,py27,el7,pypy,pypy3,docs
ignore_basepython_conflict = True
envlist =
lint
coverage
py38
py37
py36
py35
py27
el7
pypy
pypy3
docs

[base]
deps =
Expand All @@ -14,6 +26,7 @@ deps =
nbformat

[testenv]
basepython = python3.9
usedevelop = True
ignore_errors = True

Expand All @@ -27,15 +40,14 @@ commands =
[testenv:el7]
basepython = python2.7
deps =
blessed == 1.17.8
blessed == 1.17.10
mock == 1.0.1
prefixed == 0.3.2
# setuptools == 0.9.8 (Doesn't support PEP 508)
setuptools == 20.2.2

[testenv:flake8]
skip_install = True
basepython = python3.8
deps =
flake8

Expand All @@ -44,8 +56,7 @@ commands =

[testenv:pylint]
skip_install = True
ignore_errors=True
basepython = python3.8
ignore_errors = True
deps =
{[base]deps}
{[ipython]deps}
Expand All @@ -57,8 +68,7 @@ commands =

[testenv:nbqa]
skip_install = True
ignore_errors=True
basepython = python3.8
ignore_errors = True
deps =
{[testenv:flake8]deps}
{[testenv:pylint]deps}
Expand All @@ -71,8 +81,7 @@ commands =

[testenv:lint]
skip_install = True
ignore_errors=True
basepython = python3.8
ignore_errors = True
deps =
{[testenv:flake8]deps}
{[testenv:pylint]deps}
Expand All @@ -84,7 +93,6 @@ commands =
{[testenv:nbqa]commands}

[testenv:coverage]
basepython = python3.8
deps =
{[base]deps}
{[ipython]deps}
Expand All @@ -97,7 +105,6 @@ commands =
{envpython} -m coverage report

[testenv:codecov]
basepython = python3.8
passenv = CI TRAVIS TRAVIS_*
deps =
{[testenv:coverage]deps}
Expand All @@ -108,7 +115,6 @@ commands =
{envpython} -m codecov

[testenv:docs]
basepython = python3.8
deps =
sphinx
sphinxcontrib-spelling
Expand Down

0 comments on commit 3860de5

Please sign in to comment.