tox.ini 756 B

123456789101112131415161718192021222324
  1. [tox]
  2. envlist =
  3. # cpp implementation on py34 is currently broken due to
  4. # changes introduced by http://bugs.python.org/issue22079.
  5. #py{26,27,33,34}-{cpp,python}
  6. py{26,27,33}-{cpp,python}, py34-{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