.travis.yml 744 B

12345678910111213141516171819202122232425262728
  1. language: python
  2. sudo: false
  3. env:
  4. global: TEST_RUNNER=unittest PYTHONHASHSEED=random
  5. matrix:
  6. include:
  7. - python: "2.7"
  8. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  9. - python: "pypy"
  10. env: TEST_REQUIRE="fastimport"
  11. - python: "3.4"
  12. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  13. - python: "3.5"
  14. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  15. cache:
  16. directories:
  17. - $HOME/.cache/pip
  18. script:
  19. - pip install pip --upgrade
  20. - pip install $TEST_REQUIRE
  21. # Test without c extensions
  22. - python -m $TEST_RUNNER dulwich.tests.test_suite
  23. # Test with c extensions
  24. - python setup.py build_ext -i
  25. - python -m $TEST_RUNNER dulwich.tests.test_suite