From: Hugh Brown Date: Thu, 10 Oct 2013 20:46:55 +0000 (-0400) Subject: Add pep8 and pylint to .travis.yml X-Git-Tag: v0.2.23~92^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cb427bc4753dbeb40c11349ac130382c452c5c8a;p=tools%2Fpython-jenkinsapi.git Add pep8 and pylint to .travis.yml --- diff --git a/.travis.yml b/.travis.yml index 93ce8c3..e1e1eff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,16 @@ language: python + python: - - "2.7" + - "2.7" + # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - - "python setup.py develop" - - "easy_install mock" - - "easy_install nose" - - "easy_install coverage" + - python setup.py develop + - pip install --use-mirrors nose mock coverage pep8 pylint + # command to run tests, e.g. python setup.py test script: - - "nosetests jenkinsapi_tests" + - pep8 --ignore=E501 jenkinsapi/*.py + - pylint --rcfile=pylintrc jenkinsapi/*.py + - nosetests jenkinsapi_tests # - "nosetests jenkinsapi_tests/systests"