forked from AmadeusITGroup/JumpSSH
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (27 loc) · 775 Bytes
/
tox.ini
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
# Tox (http://tox.testrun.org/) is a tool for running tests in multiple
# virtualenvs. This configuration file helps to run the test suite on all
# supported Python versions. To use it, "pip install tox" and then run "tox"
# from this directory.
[tox]
envlist = py26, py27, py33, py34, py35, py36, docs, flake8, pypy
skip_missing_interpreters = True
[testenv:flake8]
basepython=python
deps=flake8
commands=flake8
[testenv]
deps =
-rrequirements_dev.txt
commands =
py.test --basetemp={envtmpdir} \
--cov={toxinidir}/jumpssh \
--cov-report=term \
--cov-report=html \
{posargs}
[testenv:docs]
changedir = docs
deps =
sphinx
sphinx_rtd_theme
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . html