.travis.yml 754 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - 2.7
  6. - 3.3
  7. - 3.4
  8. - 3.5
  9. - 3.5-dev
  10. - 3.6
  11. - 3.6-dev
  12. - 3.7-dev
  13. - pypy3.3-5.2-alpha1
  14. env:
  15. - PYTHONHASHSEED=random
  16. TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  17. matrix:
  18. include:
  19. - python: pypy
  20. env: TEST_REQUIRE=fastimport
  21. install:
  22. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  23. script:
  24. # Test without c extensions
  25. - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
  26. # Test with c extensions
  27. - python setup.py build_ext -i
  28. - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
  29. # Style
  30. - make style
  31. after_success:
  32. - python -m coverage combine
  33. - codecov