Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = |
Dan O'Reilly | 3bdfb4b | 2015-08-20 13:51:26 -0400 | [diff] [blame] | 3 | # Py3 tests currently fail because of text handling issues, |
| 4 | # So only test py26/py27 for now. |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 5 | #py{26,27,33,34}-{cpp,python} |
| 6 | py{26,27}-{cpp,python} |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 7 | |
| 8 | [testenv] |
Dan O'Reilly | 3791c80 | 2015-08-20 20:49:45 -0400 | [diff] [blame] | 9 | usedevelop=true |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 10 | setenv = |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 11 | cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 46969b9 | 2015-08-21 19:28:18 -0400 | [diff] [blame^] | 12 | cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 13 | cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 14 | commands = |
Dan O'Reilly | 416f001 | 2015-08-20 15:29:10 -0400 | [diff] [blame] | 15 | python setup.py -q build_py |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 16 | 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 Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 20 | deps = |
Dan O'Reilly | 3791c80 | 2015-08-20 20:49:45 -0400 | [diff] [blame] | 21 | # Keep this list of dependencies in sync with setup.py. |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 22 | six |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 23 | py26: ordereddict |
| 24 | py26: unittest2 |