Ticket #7228: add-tox-file-7228-2.patch

File add-tox-file-7228-2.patch, 1.1 KB (added by Chris Wolfe, 6 years ago)

include py33

  • new file tox.ini

    diff --git tox.ini tox.ini
    new file mode 100644
    index 0000000..10c15f8
    - +  
     1[tox]
     2envlist = py26, py27, py33, lint, twistedchecker
     3skipsdist = True
     4
     5[base]
     6deps = zope.interface
     7
     8[testenv]
     9deps = {[base]deps}
     10commands =
     11        {envpython} --version
     12        {toxinidir}/bin/trial {posargs:twisted}
     13
     14[testenv:py33]
     15deps = {[base]deps}
     16commands =
     17        {envpython} --version
     18        {toxinidir}/admin/run-python3-tests
     19
     20[testenv:lint]
     21basepython = python2.7
     22deps = pyflakes
     23commands =
     24        {envpython} --version
     25        pyflakes {toxinidir}/{posargs:twisted}
     26
     27[testenv:twistedchecker]
     28basepython = python2.7
     29deps = git+https://github.com/twisted/twistedchecker#egg=twistedchecker
     30commands =
     31         {envpython} --version
     32         twistedchecker {posargs:twisted}
  • new file twisted/topfiles/7228.feature

    diff --git twisted/topfiles/7228.feature twisted/topfiles/7228.feature
    new file mode 100644
    index 0000000..401f375
    - +  
     1Add a tox.ini file to simplify testing with virtualenvs
     2 No newline at end of file