forked from storj-archived/storj-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
68 lines (56 loc) · 1.12 KB
/
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
57
58
59
60
61
62
63
64
65
66
67
68
[tox]
envlist =
py2{7}
py3{6}
[pytest]
pep8maxlinelength = 119
norecursedirs = .git .tox env coverage docs
pep8ignore =
docs/conf.py E402
*.py W503
[testenv]
usedevelop = True
deps =
-rrequirements.txt
-rrequirements-extra-cli.txt
-rrequirements-test.txt
passenv = HOME LANG LC_ALL STORJ_EMAIL STORJ_PASSWORD USER
commands =
py.test -q --basetemp={envtmpdir} --confcutdir=.. -n 1 \
--junitxml=tests/junit.xml \
--cov-report xml --cov storj \
--cov-report=html \
--cov-report term-missing \
--pep8 \
{posargs}
autopep8 \
--in-place \
--aggressive \
--recursive \
--max-line-length 119 \
--ignore=W503 \
storj tests
pep8 \
--ignore=W503 \
tests
[testenv:docs]
changedir = docs
usedevelop = False
deps =
-rrequirements.txt
-rrequirements-extra-cli.txt
-rrequirements-docs.txt
commands =
make dummy
make coverage
make changes
make html
whitelist_externals =
/usr/bin/make
[tox:travis]
3.6 = py36
3.5 = py35
3.4 = py34
3.3 = py33
2.7 = py27
pypy = pypy