Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 1 | [tox] |
| 2 | envlist = |
Joshua Haberman | 301d315 | 2022-02-08 18:31:50 -0800 | [diff] [blame] | 3 | py{37,38,39,310}-{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 |
Xiang Dai | e479410 | 2019-02-21 11:28:50 +0800 | [diff] [blame] | 7 | passenv = |
Yilun Chong | 14bc658 | 2018-07-12 16:49:26 -0700 | [diff] [blame] | 8 | CC KOKORO_BUILD_ID KOKORO_BUILD_NUMBER |
Tres Seaver | f1eae1a | 2015-01-13 15:58:31 -0500 | [diff] [blame] | 9 | setenv = |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 10 | cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 46969b9 | 2015-08-21 19:28:18 -0400 | [diff] [blame] | 11 | cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs |
Dan O'Reilly | 5de2a81 | 2015-08-20 18:19:56 -0400 | [diff] [blame] | 12 | cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp |
Jie Luo | b764e67 | 2017-07-17 14:34:54 -0700 | [diff] [blame] | 13 | python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python |
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 |
Joshua Haberman | 301d315 | 2022-02-08 18:31:50 -0800 | [diff] [blame] | 17 | py{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 18:19:56 -0400 | [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-30 16:03:49 -0800 | [diff] [blame] | 20 | python: python setup.py -q test_conformance |
| 21 | cpp: python setup.py -q test_conformance --cpp_implementation |