Skip to content
Newer
Older
100644 71 lines (62 sloc) 1.58 KB
d347414 @danjac added tox.ini
danjac authored
1 [tox]
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
2 envlist =
3 py26,py27,py32,py33,py34,pypy,pypy3,
4 py27-pyramid{12,13,14,15},
5 {py2,py3}-docs,
6 {py2,py3}-cover,coverage
950ca9e @mmerickel stop using the nose test runner
mmerickel authored
7
d347414 @danjac added tox.ini
danjac authored
8 [testenv]
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
9 # Most of these are defaults but if you specify any you can't fall back
10 # to defaults for others.
950ca9e @mmerickel stop using the nose test runner
mmerickel authored
11 basepython =
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
12 py26: python2.6
13 py27: python2.7
14 py32: python3.2
15 py33: python3.3
16 py34: python3.4
17 pypy: pypy
18 pypy3: pypy3
19 py2: python2.7
20 py3: python3.4
21
950ca9e @mmerickel stop using the nose test runner
mmerickel authored
22 deps =
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
23 pyramid12: pyramid <= 1.2.99
24 pyramid13: pyramid <= 1.3.99
25 pyramid14: pyramid <= 1.4.99
26 pyramid15: pyramid <= 1.5.99
3a6a121 @tseaver Build docs under Tox.
tseaver authored
27
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
28 commands =
29 pip install pyramid_mailer[testing]
30 nosetests --with-xunit --xunit-file=nosetests-{envname}.xml {posargs:}
31
32 [testenv:py2-cover]
33 commands =
34 pip install pyramid_mailer[testing]
35 coverage run --source=pyramid_mailer {envbindir}/nosetests
36 coverage xml -o coverage-py2.xml
37 setenv =
38 COVERAGE_FILE=.coverage.py2
39
40 [testenv:py3-cover]
41 commands =
42 pip install pyramid_mailer[testing]
43 coverage run --source=pyramid_mailer {envbindir}/nosetests
44 coverage xml -o coverage-py3.xml
45 setenv =
46 COVERAGE_FILE=.coverage.py3
47
48 [testenv:coverage]
49 basepython = python3.4
3a6a121 @tseaver Build docs under Tox.
tseaver authored
50 commands =
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
51 coverage erase
52 coverage combine
53 coverage xml
54 coverage report --show-missing --fail-under=100
3a6a121 @tseaver Build docs under Tox.
tseaver authored
55 deps =
ce25595 @mmerickel add the new pylons-sphinx-themes and bring the test runner back inlin…
mmerickel authored
56 coverage
57 setenv =
58 COVERAGE_FILE=.coverage
59
60 [testenv:py2-docs]
61 whitelist_externals = make
62 commands =
63 pip install pyramid_mailer[docs]
64 make -C docs html epub BUILDDIR={envdir}
65
66 [testenv:py3-docs]
67 whitelist_externals = make
68 commands =
69 pip install pyramid_mailer[docs]
70 make -C docs html epub BUILDDIR={envdir}
Something went wrong with that request. Please try again.