2015-01-13 20:58:31 +00:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2015-08-22 17:02:24 +00:00
|
|
|
# cpp implementation on py34 is currently broken due to
|
|
|
|
# changes introduced by http://bugs.python.org/issue22079.
|
2015-08-20 22:19:56 +00:00
|
|
|
#py{26,27,33,34}-{cpp,python}
|
2015-08-22 17:02:24 +00:00
|
|
|
py{26,27,33}-{cpp,python}, py34-{python}
|
2015-01-13 20:58:31 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-08-21 00:49:45 +00:00
|
|
|
usedevelop=true
|
2015-01-13 20:58:31 +00:00
|
|
|
setenv =
|
2015-08-20 22:19:56 +00:00
|
|
|
cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
|
2015-08-21 23:28:18 +00:00
|
|
|
cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
|
2015-08-20 22:19:56 +00:00
|
|
|
cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
|
2015-01-13 20:58:31 +00:00
|
|
|
commands =
|
2015-08-20 19:29:10 +00:00
|
|
|
python setup.py -q build_py
|
2015-08-20 22:19:56 +00:00
|
|
|
python: python setup.py -q build
|
|
|
|
cpp: python setup.py -q build --cpp_implementation
|
|
|
|
python: python setup.py -q test -q
|
|
|
|
cpp: python setup.py -q test -q --cpp_implementation
|
2015-01-13 20:58:31 +00:00
|
|
|
deps =
|
2015-08-21 00:49:45 +00:00
|
|
|
# Keep this list of dependencies in sync with setup.py.
|
2015-01-13 20:58:31 +00:00
|
|
|
six
|
2015-08-20 22:19:56 +00:00
|
|
|
py26: ordereddict
|
|
|
|
py26: unittest2
|