.travis.yml 935 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - 2.7
  6. - 3.4
  7. - 3.5
  8. - 3.6
  9. - 3.6-dev
  10. - pypy3.3-5.2-alpha1
  11. - pypy3.5
  12. env:
  13. - PYTHONHASHSEED=random
  14. TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  15. matrix:
  16. include:
  17. - python: pypy
  18. env: TEST_REQUIRE=fastimport
  19. - python: 3.3
  20. env: TEST_REQUIRE=fastimport
  21. - python: 3.7
  22. env: TEST_REQUIRE=fastimport
  23. dist: xenial
  24. sudo: true
  25. - python: 3.8-dev
  26. env: TEST_REQUIRE=fastimport
  27. dist: xenial
  28. sudo: true
  29. install:
  30. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  31. script:
  32. # Test without c extensions
  33. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  34. # Test with c extensions
  35. - python setup.py build_ext -i
  36. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  37. # Style
  38. - make style
  39. after_success:
  40. - python -m coverage combine
  41. - codecov