diff options
author | Val Neekman <val@neekware.com> | 2015-04-11 22:34:58 -0400 |
---|---|---|
committer | Val Neekman <val@neekware.com> | 2015-04-11 22:34:58 -0400 |
commit | f917cbd8ebab1f114b6d2c51c64fddb35f6c04cf (patch) | |
tree | c1ac96e53b090978b0a7a52875d7fbd2484ae92d | |
parent | b2afdd2b019dfcb9ce969023aaf2aba2cd2677a0 (diff) | |
download | python-slugify-f917cbd8ebab1f114b6d2c51c64fddb35f6c04cf.tar.gz |
update .travis file
-rw-r--r-- | .travis.yml | 8 | ||||
-rwxr-xr-x | pep8.sh | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index d6ee375..fb83472 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: python + python: - "2.6" - "2.7" @@ -9,5 +10,12 @@ python: install: - pip install -q -r requirements.txt --use-mirrors + - pip install -e . + - pip install pep8 + - pip install https://github.com/un33k/pyflakes/tarball/master + +before_script: + - "pep8 --exclude=migrations --ignore=E501,E225,E128 ." + - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi script: python test.py @@ -9,6 +9,6 @@ echo -e "\nRunning: pep8 ... \n" # -- E225 missing whitespace around operator # -- E501 line too long -pep8 --exclude=migrations --ignore=E128,E225,E501 slugify test.py setup.py +pep8 --ignore=E128,E225,E501 slugify test.py setup.py echo -e "Done.\n" |