forked from pennersr/django-allauth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 812 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
32
33
34
35
36
37
38
39
40
sudo: false
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
env:
matrix:
- DJANGO="Django<1.8"
- DJANGO="Django<1.9"
- DJANGO="Django<1.10"
cache:
directories:
- $HOME/.cache/pip
install:
# pip >=8 dropped Python 3.2 support
- pip install "pip<8.0.0" wheel
- pip install "$DJANGO" "coverage==3.7.1" coveralls "mock>=1.0.1"
- pip install .
- pip install flake8
matrix:
exclude:
- python: "3.5"
env: DJANGO="Django<1.8"
# Django 1.9+ no longer supports python 3.2/3.3
- python: "3.2"
env: DJANGO="Django<1.10"
- python: "3.3"
env: DJANGO="Django<1.10"
branches:
only:
- master
script:
- flake8 --exclude=migrations,south_migrations allauth
- coverage run manage.py test allauth
after_success:
- coverage report
- coveralls