.travis.yml 962 B

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