.travis.yml 765 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. language: python
  2. sudo: false
  3. cache: pip
  4. python:
  5. - 2.7
  6. - 3.4
  7. - 3.5
  8. - 3.5-dev
  9. - 3.6
  10. - 3.6-dev
  11. - pypy3.3-5.2-alpha1
  12. - pypy3.5
  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. - python: 3.3
  21. env: TEST_REQUIRE=fastimport
  22. install:
  23. - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
  24. script:
  25. # Test without c extensions
  26. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  27. # Test with c extensions
  28. - python setup.py build_ext -i
  29. - python -m coverage run -p -m unittest dulwich.tests.test_suite
  30. # Style
  31. - make style
  32. after_success:
  33. - python -m coverage combine
  34. - codecov