forked from un33k/python-slugify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 740 Bytes
/
.travis.yml
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
27
28
29
30
31
32
sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
- pypy
env:
- SLUGIFY_USES_TEXT_UNIDECODE=yes
- SLUGIFY_USES_UNIDECODE=yes # dummy: tell travis to run more than one build types
install:
- pip install pip -U
- if [[ -z "${SLUGIFY_USES_TEXT_UNIDECODE}" ]]; then pip install -q -r requirements.txt; else pip install -q -r requirements_alt.txt; fi
- 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