forked from tschellenbach/Django-facebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 1.55 KB
/
.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
language: python
python:
- 2.6
- 2.7
env:
- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook DJANGO=1.3.5
- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook DJANGO=1.4.3
#- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook open_facebook DJANGO=1.5
#- REQUIREMENTS=userena SETTINGS=facebook_example.userena_settings TESTS=django_facebook
- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook open_facebook DJANGO=1.3.5
- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook open_facebook DJANGO=1.4.3
#- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook open_facebook DJANGO=1.5
#- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=open_facebook
postgres:
adapter: sqlite3
database: django_fb_test
install:
- pip install pep8 --use-mirrors
- pip install coverage
- pip install https://github.com/dcramer/pyflakes/tarball/master
- python setup.py install
- pip install -r facebook_example/requirements/$REQUIREMENTS.txt --use-mirrors -I
- pip install -q Django==$DJANGO --use-mirrors -I
before_script:
- "pep8 --exclude=migrations --ignore=E501,E225 django_facebook open_facebook"
# - pyflakes -x W src
script:
- pip install -e .
- cd facebook_example
- coverage run manage.py test $TESTS --settings=$SETTINGS
- coverage report