forked from geopython/OWSLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
34 lines (29 loc) · 874 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
[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
python_files=check_*.py
python_functions=check
[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}