-
Notifications
You must be signed in to change notification settings - Fork 15
/
tox.ini
56 lines (46 loc) · 1018 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist =
py2{7}
py3{6}
[pytest]
pep8maxlinelength = 119
norecursedirs = .git .tox env coverage docs
pep8ignore =
docs/conf.py E402
*.py W503
UI/qt_interfaces/*.py ALL
[testenv]
usedevelop = True
deps =
-rrequirements.txt
-rrequirements-test.txt
passenv = HOME LANG LC_ALL STORJ_EMAIL STORJ_PASSWORD USER
sitepackages = True
commands =
py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \
--junitxml=tests/junit.xml \
--cov-report xml --cov UI \
--cov-report=html \
--cov-report term-missing \
{posargs}
autopep8 \
--in-place \
--aggressive \
--recursive \
--max-line-length 119 \
--ignore=W503 \
--exclude='UI/qt_interfaces/*.py' \
UI tests
[testenv:docs]
changedir = docs
usedevelop = False
deps =
-rrequirements.txt
-rrequirements-docs.txt
commands =
make dummy
make coverage
make changes
make html
whitelist_externals =
/usr/bin/make