summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVal Neekman <val@neekware.com>2015-04-11 22:34:58 -0400
committerVal Neekman <val@neekware.com>2015-04-11 22:34:58 -0400
commitf917cbd8ebab1f114b6d2c51c64fddb35f6c04cf (patch)
treec1ac96e53b090978b0a7a52875d7fbd2484ae92d
parentb2afdd2b019dfcb9ce969023aaf2aba2cd2677a0 (diff)
downloadpython-slugify-f917cbd8ebab1f114b6d2c51c64fddb35f6c04cf.tar.gz
update .travis file
-rw-r--r--.travis.yml8
-rwxr-xr-xpep8.sh2
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
diff --git a/pep8.sh b/pep8.sh
index 4720ddd..f48f800 100755
--- a/pep8.sh
+++ b/pep8.sh
@@ -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"