summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 695c4b943a214f28f1f49b49c549781b846425ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
language: python
dist: xenial

python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7"
  - "pypy2.7-6.0"

install:
  - pip install pip -U
  - pip install -e .
  - pip install pycodestyle
  - pip install coveralls
  - pip install https://github.com/un33k/pyflakes/tarball/master

before_script:
  - "bash pycodestyle.sh"
  - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W slugify; fi

script: coverage run --source=slugify test.py

after_success:
  coveralls