.travis.yml 909 B

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