1[tox] 2envlist = 3 py{27,33,34,35,36}-{cpp,python} 4 5[testenv] 6usedevelop=true 7passenv = 8 CC KOKORO_BUILD_ID KOKORO_BUILD_NUMBER 9setenv = 10 cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs 11 cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs 12 cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp 13 python: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python 14commands = 15 python setup.py -q build_py 16 python: python setup.py -q build 17 cpp: python setup.py -q build --cpp_implementation --warnings_as_errors --compile_static_extension 18 python: python setup.py -q test -q 19 cpp: python setup.py -q test -q --cpp_implementation 20 python: python setup.py -q test_conformance 21 cpp: python setup.py -q test_conformance --cpp_implementation 22deps = 23 # Keep this list of dependencies in sync with setup.py. 24 six>=1.9 25 py26: ordereddict 26 py26: unittest2 27