Tres Seaver | f1eae1a | 2015-01-13 20:58:31 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = |
Bu Sun Kim | c01cd6e | 2021-10-15 17:24:49 | [diff] [blame] | 3 | py{35,36,37,38,39,310}-{cpp,python} |
Tres Seaver | f1eae1a | 2015-01-13 20:58:31 | [diff] [blame] | 4 | |
| 5 | [testenv] |
Dan O'Reilly | 3791c80 | 2015-08-21 00:49:45 | [diff] [blame] | 6 | usedevelop=true |
Xiang Dai | e479410 | 2019-02-21 03:28:50 | [diff] [blame] | 7 | passenv = |
Yilun Chong | 14bc658 | 2018-07-12 23:49:26 | [diff] [blame] | 8 | CC KOKORO_BUILD_ID KOKORO_BUILD_NUMBER |
Tres Seaver | f1eae1a | 2015-01-13 20:58:31 | [diff] [blame] | 9 | setenv = |
Dan O'Reilly | 5de2a81 | 2015-08-20 22:19:56 | [diff] [blame] | 10 | cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 46969b9 | 2015-08-21 23:28:18 | [diff] [blame] | 11 | cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 5de2a81 | 2015-08-20 22:19:56 | [diff] [blame] | 12 | cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp |
Jie Luo | b764e67 | 2017-07-17 21:34:54 | [diff] [blame] | 13 | python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python |
Tres Seaver | f1eae1a | 2015-01-13 20:58:31 | [diff] [blame] | 14 | commands = |
Dan O'Reilly | 416f001 | 2015-08-20 19:29:10 | [diff] [blame] | 15 | python setup.py -q build_py |
Dan O'Reilly | 5de2a81 | 2015-08-20 22:19:56 | [diff] [blame] | 16 | python: python setup.py -q build |
Bu Sun Kim | c01cd6e | 2021-10-15 17:24:49 | [diff] [blame] | 17 | py{35,36,37,38,39,310}-cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension |
Dan O'Reilly | 5de2a81 | 2015-08-20 22:19:56 | [diff] [blame] | 18 | python: python setup.py -q test -q |
| 19 | cpp: python setup.py -q test -q --cpp_implementation |
Josh Haberman | e891c29 | 2015-12-31 00:03:49 | [diff] [blame] | 20 | python: python setup.py -q test_conformance |
| 21 | cpp: python setup.py -q test_conformance --cpp_implementation |