.travis.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. - python: "3.5-dev"
  16. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  17. - python: "3.6"
  18. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  19. - python: "3.6-dev"
  20. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  21. - python: "3.7-dev"
  22. env: TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  23. cache:
  24. directories:
  25. - $HOME/.cache/pip
  26. script:
  27. - pip install pip --upgrade
  28. - pip install $TEST_REQUIRE
  29. # Test without c extensions
  30. - python -m $TEST_RUNNER dulwich.tests.test_suite
  31. # Test with c extensions
  32. - python setup.py build_ext -i
  33. - python -m $TEST_RUNNER dulwich.tests.test_suite