mirror of
https://github.com/Hopiu/django-uuslug.git
synced 2026-03-16 20:10:24 +00:00
travis config rework
This commit is contained in:
parent
93b15a7c97
commit
d8a67938bc
1 changed files with 14 additions and 10 deletions
24
.travis.yml
24
.travis.yml
|
|
@ -1,29 +1,33 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.2"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
- "3.3"
|
||||
- "3.2"
|
||||
- "2.7"
|
||||
- "2.6"
|
||||
- pypy
|
||||
|
||||
env:
|
||||
- DJANGO=1.7
|
||||
- DJANGO=1.6.7
|
||||
- DJANGO=1.4.15
|
||||
- DJANGO="django==1.7"
|
||||
- DJANGO="django==1.6.7"
|
||||
- DJANGO="django==1.4.15"
|
||||
|
||||
install:
|
||||
- pip install -q Django==$DJANGO
|
||||
- pip install -q -r requirements.txt
|
||||
- pip install $DJANGO
|
||||
- pip install -r requirements.txt
|
||||
- pip install -e .
|
||||
- pip install pep8
|
||||
- pip install https://github.com/un33k/pyflakes/tarball/master
|
||||
- pip install -q -e .
|
||||
|
||||
before_script:
|
||||
- "pep8 --exclude=migrations --ignore=E501,E225,E128 ."
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W uuslug; fi
|
||||
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pyflakes -x W ipware; fi
|
||||
|
||||
matrix:
|
||||
exclude:
|
||||
- python: "3.4"
|
||||
env: DJANGO="django==1.4.15"
|
||||
- python: "3.3"
|
||||
env: DJANGO="django==1.4.15"
|
||||
- python: "3.2"
|
||||
|
|
|
|||
Loading…
Reference in a new issue