tox.ini 608 B

123456789101112131415161718192021
  1. [tox]
  2. envlist =
  3. py{26,27,33,34}-{cpp,python}
  4. [testenv]
  5. usedevelop=true
  6. setenv =
  7. cpp: LD_LIBRARY_PATH={toxinidir}/../src/.libs
  8. cpp: DYLD_LIBRARY_PATH={toxinidir}/../src/.libs
  9. cpp: PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp
  10. commands =
  11. python setup.py -q build_py
  12. python: python setup.py -q build
  13. cpp: python setup.py -q build --cpp_implementation --warnings_as_errors
  14. python: python setup.py -q test -q
  15. cpp: python setup.py -q test -q --cpp_implementation
  16. deps =
  17. # Keep this list of dependencies in sync with setup.py.
  18. six
  19. py26: ordereddict
  20. py26: unittest2