Skip to content

Commit

Permalink
added testing against multiple django versions (1.3.1, 1.4), added py…
Browse files Browse the repository at this point in the history
…flakes and pep8 checks
  • Loading branch information
tschellenbach committed Jun 23, 2012
1 parent c646a0a commit 0205f21
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -3,16 +3,24 @@ python:
- 2.6
- 2.7
env:
- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook
- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook DJANGO=1.3.1
- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=django_facebook DJANGO=1.4
#- REQUIREMENTS=userena SETTINGS=facebook_example.userena_settings TESTS=django_facebook
- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook
- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook DJANGO=1.3.1
- REQUIREMENTS=django_registration SETTINGS=facebook_example.django_registration_settings TESTS=django_facebook DJANGO=1.4
#- REQUIREMENTS=development SETTINGS=facebook_example.settings TESTS=open_facebook
postgres:
adapter: sqlite3
database: django_fb_test
install:
- pip install pep8 --use-mirrors
- 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
before_script:
- "pep8 --exclude=migrations --ignore=E501,E225 src"
- pyflakes -x W src
script:
- pip install -e .
- cd facebook_example
Expand Down

0 comments on commit 0205f21

Please sign in to comment.