tox.ini 710 B

1234567891011121314151617181920212223
  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. [testenv]
  7. usedevelop=true
  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. 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