forked from urllib3/urllib3
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
49 lines (45 loc) · 1.08 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
[tox]
envlist = flake8-py3, py26, py27, py33, py34, py35, pypy
[testenv]
deps= -r{toxinidir}/dev-requirements.txt
commands=
pip install .[socks,secure]
nosetests []
setenv =
PYTHONWARNINGS=always::DeprecationWarning
[testenv:gae]
basepython = python2.7
deps=
{[testenv]deps}
-r{toxinidir}/test/appengine/requirements.txt
commands=
nosetests \
-c {toxinidir}/test/appengine/nose.cfg \
test/appengine \
[]
# For now, this test is ran separately because the sandbox activation in
# the app engine tests will blow up everything.
nosetests \
-c {toxinidir}/test/appengine/nose.cfg \
test/contrib/test_gae_manager.py \
[]
setenv =
PYTHONPATH={env:GAE_PYTHONPATH:}
{[testenv]setenv}
[testenv:flake8-py3]
basepython = python3.4
deps=
flake8
commands=
flake8 --version
flake8 setup.py docs dummyserver urllib3
[testenv:docs]
basepython = python2.7
deps=
-r{toxinidir}/docs/requirements.txt
commands=
rm -r {toxinidir}/docs/_build
make -C {toxinidir}/docs html
whitelist_externals=
make
rm