Skip to content

Commit

Permalink
Tests: Refactor tox.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Feb 20, 2021
1 parent 2389507 commit fdc0229
Showing 1 changed file with 3 additions and 49 deletions.
52 changes: 3 additions & 49 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

[tox]
minversion = 3.15
envlist = py27,py3{4,5,6,7,8,9},py{27,38,39}-flake8,pypy
envlist = py27,py3{4,5,6,7,8,9},pypy,py{27,38,39}-flake8

[testenv]
basepython =
Expand All @@ -27,60 +27,14 @@ passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
setenv =
LC_CTYPE = en_US.UTF-8

[tests]
[testenv:{py27,py34,py35,py36,py37,py38,py39,pypy}]
commands =
{[testenv]commands}
{envpython} {envsitepackagesdir}/Cheetah/Tests/Test.py

[testenv:py27]
commands =
{[tests]commands}

[testenv:py34]
commands =
{[tests]commands}

[testenv:py35]
commands =
{[tests]commands}

[testenv:py36]
commands =
{[tests]commands}

[testenv:py37]
commands =
{[tests]commands}

[testenv:py38]
commands =
{[tests]commands}

[testenv:py39]
commands =
{[tests]commands}

[testenv:py27-flake8]
[testenv:{py27,py34,py35,py36,py37,py38,py39}-flake8]
deps =
flake8
commands =
{[testenv]commands}
flake8 .

[testenv:py38-flake8]
deps =
flake8
commands =
{[testenv]commands}
flake8 .

[testenv:py39-flake8]
deps =
flake8
commands =
{[testenv]commands}
flake8 .

[testenv:pypy]
commands =
{[tests]commands}

0 comments on commit fdc0229

Please sign in to comment.