Run style tests in travis.
[jelmer/dulwich.git] / .travis.yml
index e8214ae8663772db78be24f68dc3e9fe65246486..2753c292e0d44cef966539bdf8de951edafbd067 100644 (file)
@@ -23,7 +23,7 @@ matrix:
       env: TEST_REQUIRE=fastimport
 
 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
@@ -33,6 +33,9 @@ script:
   - python setup.py build_ext -i
   - python -m coverage run -p --source=dulwich -m unittest dulwich.tests.test_suite
 
+  # Style
+  - make style
+
 after_success:
   - python -m coverage combine
   - codecov