Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = |
Colin Cross | 3ed2fc5 | 2019-08-13 18:26:41 -0700 | [diff] [blame^] | 3 | py{27,33,34,35,36}-{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 |
Colin Cross | 3ed2fc5 | 2019-08-13 18:26:41 -0700 | [diff] [blame^] | 12 | python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 13 | commands = |
Dan O'Reilly | 416f001 | 2015-08-20 15:29:10 -0400 | [diff] [blame] | 14 | python setup.py -q build_py |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 15 | python: python setup.py -q build |
Colin Cross | 3ed2fc5 | 2019-08-13 18:26:41 -0700 | [diff] [blame^] | 16 | cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 17 | python: python setup.py -q test -q |
| 18 | cpp: python setup.py -q test -q --cpp_implementation |
Josh Haberman | e891c29 | 2015-12-30 16:03:49 -0800 | [diff] [blame] | 19 | python: python setup.py -q test_conformance |
| 20 | cpp: python setup.py -q test_conformance --cpp_implementation |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 21 | deps = |
Dan O'Reilly | 3791c80 | 2015-08-20 20:49:45 -0400 | [diff] [blame] | 22 | # Keep this list of dependencies in sync with setup.py. |
Feng Xiao | 283c40c | 2015-12-29 14:36:46 -0800 | [diff] [blame] | 23 | six>=1.9 |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 24 | py26: ordereddict |
| 25 | py26: unittest2 |