.travis.yml 742 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. env:
  14. - PYTHONHASHSEED=random
  15. TEST_REQUIRE="gevent greenlet geventhttpclient fastimport"
  16. matrix:
  17. include:
  18. - python: pypy
  19. env: TEST_REQUIRE=fastimport
  20. install:
  21. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  22. script:
  23. # Test without c extensions
  24. - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
  25. # Test with c extensions
  26. - python setup.py build_ext -i
  27. - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
  28. # Style
  29. - make style
  30. after_success:
  31. - python -m coverage combine
  32. - codecov