forked from geopython/OWSLib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
54 lines (46 loc) · 1.36 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
[pytest]
addopts = -vs --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,py26-with-lxml,py26-with-old-lxml,py26-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:py26-with-lxml]
basepython = /opt/python-2.6.9/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
-rrequirements-2.6.txt
lxml
[testenv:py26-with-old-lxml]
basepython = /opt/python-2.6.9/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
-rrequirements-2.6.txt
lxml<2.3
[testenv:py26-without-lxml]
basepython = /opt/python-2.6.9/bin/python
deps=-rrequirements.txt
-rrequirements-dev.txt
-rrequirements-2.6.txt
[testenv]
recreate=False
commands=
python setup.py develop
py.test \
--basetemp={envtmpdir} \
{posargs}