tox.ini 665 B

1234567891011121314151617181920212223
  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: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
  12. commands =
  13. python setup.py -q build_py
  14. python: python setup.py -q build
  15. cpp: python setup.py -q build --cpp_implementation
  16. python: python setup.py -q test -q
  17. cpp: python setup.py -q test -q --cpp_implementation
  18. deps =
  19. # Keep this list of dependencies in sync with setup.py.
  20. six
  21. py26: ordereddict
  22. py26: unittest2