summaryrefslogtreecommitdiff
path: root/tox.ini
blob: 951b808f3805a2fae374dd1b6bcc8f0a9a9f554d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[tox]
envlist = py26,py27,py32,py33,scaffolds-26,scaffolds-27,scaffolds-32,scaffolds-33,pep8

[testenv]
commands={envpython} setup.py test -v

[testenv:scaffolds-26]
basepython = python2.6
deps = pep8
        gunicorn
        unittest2
changedir={envdir}/tmp
commands=pecan create testing123
          {envpython} testing123/setup.py install
          {envpython} testing123/setup.py test -q
          pep8 --repeat --show-source testing123/setup.py testing123/testing123
          {envpython} {toxinidir}/pecan/tests/scaffold_builder.py

[testenv:scaffolds-27]
basepython = python2.7
deps = {[testenv:scaffolds-26]deps}
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123
          {envpython} testing123/setup.py install
          {envpython} testing123/setup.py test -q
          pep8 --repeat --show-source testing123/setup.py testing123/testing123
          {envpython} {toxinidir}/pecan/tests/scaffold_builder.py

[testenv:scaffolds-32]
basepython = python3.2
deps = pep8
        gunicorn
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123
          curl "http://python-distribute.org/distribute_setup.py" -O
          {envpython} distribute_setup.py
          {envpython} testing123/setup.py install
          {envpython} testing123/setup.py test -q
          pep8 --repeat --show-source testing123/setup.py testing123/testing123
          {envpython} {toxinidir}/pecan/tests/scaffold_builder.py

[testenv:scaffolds-33]
basepython = python3.3
deps = pep8
        gunicorn
changedir={[testenv:scaffolds-26]changedir}
commands=pecan create testing123
          curl "http://python-distribute.org/distribute_setup.py" -O
          {envpython} distribute_setup.py
          {envpython} testing123/setup.py install
          {envpython} testing123/setup.py test -q
          pep8 --repeat --show-source testing123/setup.py testing123/testing123
          {envpython} {toxinidir}/pecan/tests/scaffold_builder.py

[testenv:pep8]
deps = pep8
commands = pep8 --repeat --show-source pecan setup.py