forked from geopython/OWSLib
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathtox.ini
44 lines (38 loc) · 987 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
[pytest]
addopts = -v -rxs -s --color=yes --tb=native --ignore=setup.py --doctest-modules --doctest-glob 'tests/**/*.txt' --cov-report term-missing --cov owslib
norecursedirs = .git docs examples etc cov* *.egg* pytest* .tox _broken
[flake8]
ignore=F401,E402
max-line-length=120
exclude =
.git,
__pycache__,
docs/source/conf.py,
build,
dist
examples,
etc,
[tox]
skipsdist=True
envlist=py27-with-lxml,py27-with-old-lxml,py27-without-lxml
[testenv:py27-with-lxml]
basepython = /opt/python-2.7.6/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
lxml
[testenv:py27-with-old-lxml]
basepython = /opt/python-2.7.6/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
lxml<2.3
[testenv:py27-without-lxml]
basepython = /opt/python-2.7.6/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
[testenv]
recreate=False
commands=
python setup.py develop
py.test \
--basetemp={envtmpdir} \
{posargs}