2015-01-13 20:58:31 +00:00
|
|
|
[tox]
|
|
|
|
envlist =
|
2015-10-10 00:07:03 +00:00
|
|
|
py{26,27,33,34}-{cpp,python}
|
2015-01-13 20:58:31 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-08-21 00:49:45 +00:00
|
|
|
usedevelop=true
|
2015-10-28 23:49:55 +00:00
|
|
|
passenv = CC
|
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
|
2015-10-06 21:13:09 +00:00
|
|
|
cpp: python setup.py -q build --cpp_implementation --warnings_as_errors
|
2015-08-20 22:19:56 +00:00
|
|
|
python: python setup.py -q test -q
|
|
|
|
cpp: python setup.py -q test -q --cpp_implementation
|
2015-12-31 00:03:49 +00:00
|
|
|
python: python setup.py -q test_conformance
|
|
|
|
cpp: python setup.py -q test_conformance --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-12-29 22:36:46 +00:00
|
|
|
six>=1.9
|
2015-08-20 22:19:56 +00:00
|
|
|
py26: ordereddict
|
|
|
|
py26: unittest2
|