forked from pennersr/django-allauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 987 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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
global:
- TEST_APPS=allauth account socialaccount amazon angellist bitbucket feedly foursquare dropbox facebook flickr google github instagram linkedin linkedin_oauth2 openid paypal persona soundcloud stackexchange tumblr twitch twitter vimeo vk weibo bitly
matrix:
- DJANGO=Django==1.4.3
- DJANGO=Django==1.5
- DJANGO="git+git://github.com/django/django.git@stable/1.6.x#egg=django"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- pip install $DJANGO --use-mirrors
- pip install . --use-mirrors
- pip install coverage
branches:
only:
- master
script: if [ $DJANGO == Django==1.4.3 -o $DJANGO == Django1.5 ]; then coverage run manage.py test $(TEST_APPS); else coverage run manage.py test allauth; fi
matrix:
exclude:
- python: "3.3"
env: DJANGO=Django==1.4.3
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls