summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 2 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 3c917db..2f8b3ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,28 +2,21 @@ language: python
dist: xenial
python:
- - "2.7"
- - "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9"
- - "pypy"
- "pypy3"
install:
- pip install pip -U
- pip install -e .
- pip install pycodestyle
- # Avoid cryptography compilation problems with pypy and 2.7
- - pip install coveralls 'cryptography<=3.0;python_version=="2.7"'
- - pip install https://github.com/un33k/pyflakes/tarball/master
+ - pip install coveralls
before_script:
- "bash format.sh"
- - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi
script: coverage run --source=slugify test.py
-after_success:
- coveralls
+after_success: coveralls