forked from matrix-org/matrix-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
41 lines (36 loc) · 798 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
32
33
34
35
36
37
38
39
40
41
[tox]
envlist = py27,py34,py35,py36,packaging,pep8,docs
[testenv]
passenv = TRAVIS TRAVIS_*
setenv =
PYTHONDONTWRITEBYTECODE = no_byte_code
PYTHONPATH = {toxinidir}/matrix_client
deps =
.[test]
.[e2e]
coveralls
commands=
coverage run --source=matrix_client setup.py test
coverage report
- coveralls
install_command = pip install --process-dependency-links {opts} {packages}
[testenv:pep8]
skip_install = True
deps =
.[format]
commands = /bin/bash -c "flake8 matrix_client samples test {env:PEP8SUFFIX:}"
[testenv:packaging]
deps =
check-manifest
commands =
check-manifest
[testenv:docs]
deps = .[doc]
changedir = docs
commands = sphinx-build -W source build/html
[travis]
python =
2.7: py27
3.4: py34
3.5: py34
3.6: py36, pep8, docs