From cb427bc4753dbeb40c11349ac130382c452c5c8a Mon Sep 17 00:00:00 2001 From: Hugh Brown Date: Thu, 10 Oct 2013 16:46:55 -0400 Subject: [PATCH] Add pep8 and pylint to .travis.yml --- .travis.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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" -- 2.34.1