From 340e2b0bab670b721aba51912cbd9d539d36d0ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Fri, 17 May 2013 20:06:32 +0200 Subject: [PATCH] Add python code checkers to travis build process --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9aadacd5..d2bdb9bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ install: - sudo apt-get install $PYTHON-scipy - sudo apt-get install $PYTHON-setuptools - sudo apt-get install $PYTHON-nose + - sudo apt-get install pep8 + - sudo apt-get install pyflakes - sudo easy_install$PYSUF pip - sudo pip-$PYVER install cython - sudo apt-get install libfreeimage3 @@ -32,3 +34,7 @@ script: - cd .. - "echo 'backend : Agg' > matplotlibrc" - for f in doc/examples/*.py; do $PYTHON "$f"; if [ $? -ne 0 ]; then exit $?; fi done + - echo "### pyflakes ###" + - pyflakes skimage + - echo "### pep8 ###" + - "pep8 skimage"