tox.ini (cheetah3-3.2.4) | : | tox.ini (cheetah3-3.2.5) | ||
---|---|---|---|---|
# Tox (http://tox.testrun.org/) is a tool for running tests | # Tox (http://tox.testrun.org/) is a tool for running tests | |||
# in multiple virtualenvs. This configuration file will run the | # in multiple virtualenvs. This configuration file will run the | |||
# test suite on all supported python versions. To use it, "pip install tox" | # test suite on all supported python versions. To use it, "pip install tox" | |||
# and then run "tox" from this directory. | # and then run "tox" from this directory. | |||
[tox] | [tox] | |||
minversion = 2.0 | minversion = 2.0 | |||
envlist = py27, py3{4,5,6,7,8}, py{27,37}-flake8, pypy | envlist = py27,py3{4,5,6,7,8},py{27,38}-flake8,pypy | |||
[testenv] | [testenv] | |||
basepython = | basepython = | |||
py27: {env:TOXPYTHON:python2.7} | py27: {env:TOXPYTHON:python2.7} | |||
py34: {env:TOXPYTHON:python3.4} | py34: {env:TOXPYTHON:python3.4} | |||
py35: {env:TOXPYTHON:python3.5} | py35: {env:TOXPYTHON:python3.5} | |||
py36: {env:TOXPYTHON:python3.6} | py36: {env:TOXPYTHON:python3.6} | |||
py37: {env:TOXPYTHON:python3.7} | py37: {env:TOXPYTHON:python3.7} | |||
py38: {env:TOXPYTHON:python3.8} | py38: {env:TOXPYTHON:python3.8} | |||
pypy: {env:TOXPYTHON:pypy} | pypy: {env:TOXPYTHON:pypy} | |||
commands = | commands = | |||
{envpython} --version | {envpython} --version | |||
{envpython} -c "import struct; print(struct.calcsize('P') * 8)" | {envpython} -c "import struct; print(struct.calcsize('P') * 8)" | |||
deps = | deps = | |||
Markdown >= 2.0.1 | setuptools < 44 | |||
Markdown >= 2.0.1, < 3.2 | ||||
pygments | pygments | |||
passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR | passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR | |||
setenv = | setenv = | |||
LC_CTYPE = en_US.UTF-8 | LC_CTYPE = en_US.UTF-8 | |||
[tests] | [tests] | |||
commands = | commands = | |||
{[testenv]commands} | {[testenv]commands} | |||
{envpython} {envsitepackagesdir}/Cheetah/Tests/Test.py | {envpython} {envsitepackagesdir}/Cheetah/Tests/Test.py | |||
[testenv:py27] | [testenv:py27] | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
[testenv:py34] | [testenv:py34] | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
[testenv:py34-w32] | ||||
platform=win32 | ||||
whitelist_externals=tox-install.cmd | ||||
install_command=devscripts\\CI\\tox-install.cmd {opts} {packages} | ||||
commands = | ||||
{[tests]commands} | ||||
[testenv:py35] | [testenv:py35] | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
[testenv:py36] | [testenv:py36] | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
[testenv:py37] | [testenv:py37] | |||
commands = | commands = | |||
skipping to change at line 65 | skipping to change at line 73 | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
[testenv:py27-flake8] | [testenv:py27-flake8] | |||
deps = | deps = | |||
flake8 | flake8 | |||
commands = | commands = | |||
{[testenv]commands} | {[testenv]commands} | |||
flake8 . | flake8 . | |||
[testenv:py37-flake8] | [testenv:py38-flake8] | |||
deps = | deps = | |||
flake8 | flake8 | |||
commands = | commands = | |||
{[testenv]commands} | {[testenv]commands} | |||
flake8 . | flake8 . | |||
[testenv:pypy] | [testenv:pypy] | |||
commands = | commands = | |||
{[tests]commands} | {[tests]commands} | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 11 lines changed or added |