forked from tangentlabs/django-fancypages
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
23 lines (23 loc) · 864 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
language: python
python:
- "2.7"
env:
# Test against latest Django 1.4 release
- DRF_VERSRION=">=2.0,<2.1" DJANGO_VERSION=">=1.4,<1.5"
- DRF_VERSRION=">=2.1,<2.2" DJANGO_VERSION=">=1.4,<1.5"
- DRF_VERSRION=">=2.2,<2.3" DJANGO_VERSION=">=1.4,<1.5"
- DRF_VERSRION=">=2.3,<2.4" DJANGO_VERSION=">=1.4,<1.5"
# Test against latest Django 1.5 release
- DRF_VERSRION=">=2.0,<2.1" DJANGO_VERSION=">=1.5,<1.6"
- DRF_VERSRION=">=2.1,<2.2" DJANGO_VERSION=">=1.5,<1.6"
- DRF_VERSRION=">=2.2,<2.3" DJANGO_VERSION=">=1.5,<1.6"
- DRF_VERSRION=">=2.3,<2.4" DJANGO_VERSION=">=1.5,<1.6"
install:
- pip install Django$DJANGO_VERSION djangorestframework$DRF_VERSION
- pip install . --use-mirrors
- pip install -r requirements.txt --use-mirrors
- npm -g install [email protected] phantomjs
script:
- py.test --pep8 --cov fancypages
after_success:
- coveralls