.travis.yml 954 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. env: TEST_REQUIRE=fastimport
  24. dist: xenial
  25. sudo: true
  26. - python: 3.8-dev
  27. env: TEST_REQUIRE=fastimport
  28. dist: xenial
  29. sudo: true
  30. install:
  31. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  32. script:
  33. # Test without c extensions
  34. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  35. # Test with c extensions
  36. - python setup.py build_ext -i
  37. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  38. # Style
  39. - make style
  40. after_success:
  41. - python -m coverage combine
  42. - codecov