-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtox.ini
42 lines (37 loc) · 865 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
[tox]
envlist = py27, pypy, py34, py35, py36, pypy3, w3lib
[testenv]
whitelist_externals =
make
/bin/bash
/usr/bin/git
/bin/rm
deps =
pytest
pytest-cov
Cython
commands =
make clean
python setup.py build_ext --inplace
py.test --cov=scurl --cov-report=term {posargs:scurl tests}
{[testenv:w3lib]commands}
setenv = CYTHON_TRACE = true
[testenv:pypy]
basepython = pypy
commands =
make clean
python setup.py build_ext --inplace
py.test {posargs:scurl tests}
{[testenv:w3lib]commands}
[testenv:pypy3]
basepython = pypy3
commands =
make clean
python setup.py build_ext --inplace
py.test {posargs:scurl tests}
{[testenv:w3lib]commands}
[testenv:w3lib]
commands =
git clone -b scurl http://github.com/nctl144/w3lib
py.test w3lib/tests/test_url.py::CanonicalizeUrlTest
rm -rf w3lib