.travis.yml 884 B

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