forked from pennersr/django-allauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (34 loc) · 1.01 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
sudo: false
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
env:
global:
- TEST_APPS="allauth account socialaccount amazon angellist baidu bitbucket coinbase evernote feedly foursquare douban dropbox dropbox_oauth2 facebook flickr google github hubic instagram linkedin linkedin_oauth2 mailru odnoklassniki windowslive openid orcid paypal persona soundcloud spotify stackexchange tumblr twitch twitter vimeo vk weibo bitly xing"
matrix:
- DJANGO="Django<1.6"
- DJANGO="Django<1.7"
- DJANGO="Django<1.8"
- DJANGO="Django<1.9"
install:
- pip install $DJANGO --use-mirrors
- pip install . --use-mirrors
- pip install coverage
branches:
only:
- master
script: if [ -o $DJANGO == Django==1.5 ]; then coverage run manage.py test $TEST_APPS; else coverage run manage.py test allauth; fi
matrix:
exclude:
- python: "2.6"
env: DJANGO="Django<1.8"
- python: "2.6"
env: DJANGO="Django<1.9"
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls