New upstream version 0.19.10
[jelmer/dulwich.git] / .travis.yml
index e8214ae8663772db78be24f68dc3e9fe65246486..c346113b5aab4b0e20cec841d9b518525fff9152 100644 (file)
@@ -4,14 +4,11 @@ cache: pip
 
 python:
   - 2.7
-  - 3.3
   - 3.4
   - 3.5
-  - 3.5-dev
   - 3.6
   - 3.6-dev
-  - 3.7-dev
-  - pypy3.3-5.2-alpha1
+  - pypy3.5
 
 env:
   - PYTHONHASHSEED=random
@@ -21,17 +18,29 @@ matrix:
   include:
     - python: pypy
       env: TEST_REQUIRE=fastimport
+    - python: 3.7
+      env: TEST_REQUIRE=fastimport
+      dist: xenial
+      sudo: true
+    # flakes checker fails on python 3.8-dev:
+    #- python: 3.8-dev
+    #  env: TEST_REQUIRE=fastimport
+    #  dist: xenial
+    #  sudo: true
 
 install:
-  - travis_retry pip install -U pip coverage codecov $TEST_REQUIRE
+  - travis_retry pip install -U pip coverage codecov flake8 $TEST_REQUIRE
 
 script:
   # Test without c extensions
-  - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
+  - python -m coverage run -p -m unittest dulwich.tests.test_suite
 
   # Test with c extensions
   - python setup.py build_ext -i
-  - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
+  - python -m coverage run -p -m unittest dulwich.tests.test_suite
+
+  # Style
+  - make style
 
 after_success:
   - python -m coverage combine