.travis.yml 931 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. - pypy3.5
  10. env:
  11. - PYTHONHASHSEED=random
  12. TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  13. matrix:
  14. include:
  15. - python: pypy
  16. env: TEST_REQUIRE=fastimport
  17. - python: 3.7
  18. env: TEST_REQUIRE=fastimport
  19. dist: xenial
  20. sudo: true
  21. # flakes checker fails on python 3.8-dev:
  22. #- python: 3.8-dev
  23. # env: TEST_REQUIRE=fastimport
  24. # dist: xenial
  25. # sudo: true
  26. install:
  27. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  28. script:
  29. # Test without c extensions
  30. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  31. # Test with c extensions
  32. - python setup.py build_ext -i
  33. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  34. # Style
  35. - make style
  36. - python setup.py bdist_wheel
  37. after_success:
  38. - python -m coverage combine
  39. - codecov