.travis.yml 985 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. # flakes checker fails on python 3.8-dev:
  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