|
| 1 | +[tox] |
| 2 | +envlist = |
| 3 | + py{36,35,34,33,27,26}-pytest{30,29,28,27,26} |
| 4 | + pypy-pytest{30,29,28,27,26} |
| 5 | + |
| 6 | + |
| 7 | +[pytest] |
| 8 | +norecursedirs = .git .tox env coverage docs |
| 9 | +pep8ignore = |
| 10 | + docs/conf.py ALL |
| 11 | +pep8maxlinelength = 119 |
| 12 | + |
| 13 | + |
| 14 | +[testenv] |
| 15 | +usedevelop = True |
| 16 | +deps = |
| 17 | + -rrequirements/main.txt |
| 18 | + -rrequirements/test.txt |
| 19 | + pytest23: pytest>=2.3,<2.4 |
| 20 | + pytest24: pytest>=2.4,<2.5 |
| 21 | + pytest25: pytest>=2.5,<2.6 |
| 22 | + pytest26: pytest>=2.6,<2.7 |
| 23 | + |
| 24 | +passenv = HOME LANG LC_ALL |
| 25 | + |
| 26 | +commands = |
| 27 | + py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \ |
| 28 | + --junitxml=tests/junit.xml \ |
| 29 | + --cov-report xml --cov pytest_flask \ |
| 30 | + --cov-report=html \ |
| 31 | + --cov-report term-missing \ |
| 32 | + --pep8 \ |
| 33 | + -n 2 \ |
| 34 | + {posargs} |
| 35 | + |
| 36 | + |
| 37 | +[testenv:docs] |
| 38 | +changedir = docs |
| 39 | +deps = -r../requirements/docs.txt |
| 40 | + |
| 41 | +commands = |
| 42 | + make html |
| 43 | + |
| 44 | +whitelist_externals = |
| 45 | + /usr/bin/make |
| 46 | + |
| 47 | + |
| 48 | +[tox:travis] |
| 49 | +2.6 = py26-pytest{30,29,28,27,26} |
| 50 | +2.7 = py27-pytest{30,29,28,27,26} |
| 51 | +3.3 = py33-pytest{30,29,28,27,26} |
| 52 | +3.4 = py34-pytest{30,29,28,27,26} |
| 53 | +3.5 = py35-pytest{30,29,28,27,26} |
| 54 | +3.6 = py36-pytest{30,29,28,27,26} |
0 commit comments