.travis.yml 774 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. - pypy3.3-5.2-alpha1
  13. - pypy3.5
  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. - python: 3.3:
  22. env: TEST_REQUIRE=fastimport
  23. install:
  24. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  25. script:
  26. # Test without c extensions
  27. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  28. # Test with c extensions
  29. - python setup.py build_ext -i
  30. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  31. # Style
  32. - make style
  33. after_success:
  34. - python -m coverage combine
  35. - codecov