forked from RDFLib/rdflib-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
79 lines (72 loc) · 2.01 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[tox]
envlist =
py25,py26,py27,cover,py32,py33
[testenv]
commands =
{envpython} setup.py clean --all
{envpython} setup.py nosetests
deps =
nose
git+http://github.com/RDFLib/rdflib#egg=rdflib
SQLAlchemy
psycopg2
MySQL-python
[testenv:py25]
basepython = python2.5
commands =
{envpython} setup.py clean --all
{envpython} setup.py nosetests
deps =
nose
git+http://github.com/RDFLib/rdflib#egg=rdflib
SQLAlchemy
pysqlite
psycopg2
MySQL-python
[testenv:py32]
basepython = python3.2
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
nosetests --where=./build/src
deps =
nose
git+http://github.com/RDFLib/rdflib#egg=rdflib
SQLAlchemy
psycopg2
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-1.0.10.zip
# git+https://github.com/davispuh/MySQL-for-Python-3#egg=MySQL-python
# lxml
[testenv:py33]
basepython = python3.3
commands =
{envpython} setup.py clean --all
{envpython} setup.py build
nosetests --where=./build/src
deps =
nose
git+http://github.com/RDFLib/rdflib#egg=rdflib
SQLAlchemy
psycopg2
http://cdn.mysql.com/Downloads/Connector-Python/mysql-connector-python-1.0.10.zip
# git+https://github.com/davispuh/MySQL-for-Python-3#egg=MySQL-python
# oursql
# lxml
[testenv:cover]
basepython = python2.7
commands =
{envpython} setup.py nosetests \
--with-coverage --cover-html --cover-html-dir=./coverage \
--cover-package=rdflib_sqlalchemy --cover-inclusive
deps =
nose
coverage
git+http://github.com/RDFLib/rdflib#egg=rdflib
SQLAlchemy
psycopg2
MySQL-python
# we separate coverage into its own testenv because a) "last run wins" wrt
# cobertura jenkins reporting and b) pypy and jython can't handle any
# combination of versions of coverage and nosexcover that i can find.
# coverage <3.4 is required by nosexcover 1.0.4.
# DB='pgsql' DBURI='postgresql+psycopg2://user:password@host/dbname' tox -e py32