blob: 9a934d0a771533ab4120b05c4a0a9b374eaef0c5 [file] [log] [blame]
Tres Seaverf1eae1a2015-01-13 15:58:31 -05001[tox]
2envlist =
Dan O'Reilly3bdfb4b2015-08-20 13:51:26 -04003 # Py3 tests currently fail because of text handling issues,
4 # So only test py26/py27 for now.
Dan O'Reilly5de2a812015-08-20 18:19:56 -04005 #py{26,27,33,34}-{cpp,python}
6 py{26,27}-{cpp,python}
Tres Seaverf1eae1a2015-01-13 15:58:31 -05007
8[testenv]
Dan O'Reilly3791c802015-08-20 20:49:45 -04009usedevelop=true
Tres Seaverf1eae1a2015-01-13 15:58:31 -050010setenv =
Dan O'Reilly5de2a812015-08-20 18:19:56 -040011 cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
Dan O'Reilly46969b92015-08-21 19:28:18 -040012 cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
Dan O'Reilly5de2a812015-08-20 18:19:56 -040013 cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
Tres Seaverf1eae1a2015-01-13 15:58:31 -050014commands =
Dan O'Reilly416f0012015-08-20 15:29:10 -040015 python setup.py -q build_py
Dan O'Reilly5de2a812015-08-20 18:19:56 -040016 python: python setup.py -q build
17 cpp: python setup.py -q build --cpp_implementation
18 python: python setup.py -q test -q
19 cpp: python setup.py -q test -q --cpp_implementation
Tres Seaverf1eae1a2015-01-13 15:58:31 -050020deps =
Dan O'Reilly3791c802015-08-20 20:49:45 -040021 # Keep this list of dependencies in sync with setup.py.
Tres Seaverf1eae1a2015-01-13 15:58:31 -050022 six
Dan O'Reilly5de2a812015-08-20 18:19:56 -040023 py26: ordereddict
24 py26: unittest2