tox.ini 717 B

123456789101112131415161718192021222324
  1. [tox]
  2. envlist =
  3. # Py3 tests currently fail because of text handling issues,
  4. # So only test py26/py27 for now.
  5. #py{26,27,33,34}-{cpp,python}
  6. py{26,27}-{cpp,python}
  7. [testenv]
  8. usedevelop=true
  9. setenv =
  10. cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
  11. cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
  12. cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
  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
  17. python: python setup.py -q test -q
  18. cpp: python setup.py -q test -q --cpp_implementation
  19. deps =
  20. # Keep this list of dependencies in sync with setup.py.
  21. six
  22. py26: ordereddict
  23. py26: unittest2