From 082a561ceaf73e4f90eb6313ab8431a2b076ac17 Mon Sep 17 00:00:00 2001 From: Adam Stokes Date: Sat, 2 Aug 2014 01:31:17 -0400 Subject: [travis-ci] run pep8 against code tree To ensure proper code formatting and syntax is being done this enables travis-ci to continually check pep8 compliance. This is useful as it will tend to spot a lot of syntax errors that the unittests may not pick up. Signed-off-by: Adam Stokes --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0ed41d99..fc0ab95f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,8 @@ notifications: - "us.freenode.net#sosreport" on_success: change install: - - "pip install six nose nose-cov --use-mirrors" + - "pip install six nose nose-cov pep8 --use-mirrors" - "python setup.py install" script: + - "pep8 sos" - "nosetests -v --with-cover --cover-package=sos --cover-html" -- cgit