From 74b143eb592a895a80191f614a48478272584043 Mon Sep 17 00:00:00 2001 From: Tom Chadwin Date: Tue, 16 Jan 2018 15:08:04 +0000 Subject: [PATCH] Pycodestyle, pylint #17 --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index cf1cbc2..5c00f9b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,8 @@ install: - sudo -H pip install --upgrade pip - sudo -H pip install nose - sudo -H pip install rednose + - sudo -H pip install --upgrade pycodestyle + - sudo apt-get install pylint before_script: - echo "Build starting on " `date` @@ -30,6 +32,8 @@ before_script: - export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib script: + - pycodestyle --exclude=test ./ --format=pylint + - make pylint - QGIS_DEBUG=0 xvfb-run --server-args="-screen 0, 1024x768x24" nosetests -s --nologcapture -A 'not slow' -v --rednose --verbose notifications: