Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = |
Colin Cross | 11fb7ae | 2018-11-04 17:34:26 -0800 | [diff] [blame] | 3 | py{26,27,33,34}-{cpp,python} |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 4 | |
| 5 | [testenv] |
Dan O'Reilly | 3791c80 | 2015-08-20 20:49:45 -0400 | [diff] [blame] | 6 | usedevelop=true |
Josh Haberman | c3ca920 | 2015-10-28 16:49:55 -0700 | [diff] [blame] | 7 | passenv = CC |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 8 | setenv = |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 9 | cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 46969b9 | 2015-08-21 19:28:18 -0400 | [diff] [blame] | 10 | cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 11 | cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 12 | commands = |
Dan O'Reilly | 416f001 | 2015-08-20 15:29:10 -0400 | [diff] [blame] | 13 | python setup.py -q build_py |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 14 | python: python setup.py -q build |
Colin Cross | 11fb7ae | 2018-11-04 17:34:26 -0800 | [diff] [blame] | 15 | cpp: python setup.py -q build --cpp_implementation --warnings_as_errors |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 16 | python: python setup.py -q test -q |
| 17 | cpp: python setup.py -q test -q --cpp_implementation |
Josh Haberman | e891c29 | 2015-12-30 16:03:49 -0800 | [diff] [blame] | 18 | python: python setup.py -q test_conformance |
| 19 | cpp: python setup.py -q test_conformance --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. |
Feng Xiao | 283c40c | 2015-12-29 14:36:46 -0800 | [diff] [blame] | 22 | six>=1.9 |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 23 | py26: ordereddict |
| 24 | py26: unittest2 |