.travis.yml 767 B

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