tox.ini 868 B

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