forked from pennersr/django-allauth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (34 loc) · 1.13 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
32
33
34
language: python
python:
- "2.6"
- "2.7"
- "3.3"
env:
global:
- TEST_APPS="allauth account socialaccount amazon angellist bitbucket coinbase feedly foursquare dropbox facebook flickr google github hubic instagram linkedin linkedin_oauth2 mailru windowslive openid orcid paypal persona soundcloud stackexchange tumblr twitch twitter vimeo vk weibo bitly xing"
matrix:
- DJANGO=Django==1.4.3
- DJANGO=Django==1.5
- DJANGO=Django==1.6
- DJANGO="git+git://github.com/django/django.git@stable/1.7.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 == Django==1.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
- python: "2.6"
env: DJANGO="git+git://github.com/django/django.git@stable/1.7.x#egg=django"
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls