| Adam Israel | dcdf82b | 2017-08-15 15:26:43 -0400 | [diff] [blame^] | 1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
| 2 | # in multiple virtualenvs. This configuration file will run the |
| 3 | # test suite on all supported python versions. To use it, "pip install tox" |
| 4 | # and then run "tox" from this directory. |
| 5 | |
| 6 | [tox] |
| 7 | envlist = py35 |
| 8 | skipsdist=True |
| 9 | |
| 10 | [testenv] |
| 11 | usedevelop=True |
| 12 | passenv = |
| 13 | HOME |
| 14 | deps = |
| 15 | pytest |
| 16 | pytest-asyncio |
| 17 | pytest-xdist |
| 18 | mock |
| 19 | asynctest |
| 20 | ipdb |
| 21 | |
| 22 | [testenv:py35] |
| 23 | # default tox env excludes integration tests |
| 24 | commands = py.test -ra -v -s -x -n auto -k 'not integration' {posargs} |
| 25 | |
| 26 | [testenv:integration] |
| 27 | basepython=python3 |
| 28 | commands = py.test -ra -v -s -x -n auto {posargs} |