forked from django-fluent/django-fluent-comments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
59 lines (59 loc) · 1.61 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
sudo: false
language: python
cache: pip
python:
- '2.6'
- '2.7'
- '3.4'
- '3.5'
env:
- DJANGO_VERSION="Django>=1.6,<1.7"
- DJANGO_VERSION="Django>=1.7,<1.8"
- DJANGO_VERSION="Django>=1.8,<1.9"
- DJANGO_VERSION="Django>=1.9,<1.10"
- DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
matrix:
exclude:
- python: '2.6'
env: DJANGO_VERSION="Django>=1.7,<1.8"
- python: '2.6'
env: DJANGO_VERSION="Django>=1.8,<1.9"
- python: '2.6'
env: DJANGO_VERSION="Django>=1.9,<1.10"
- python: '2.6'
env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
- python: '3.5'
env: DJANGO_VERSION="Django>=1.6,<1.7"
- python: '3.5'
env: DJANGO_VERSION="Django>=1.7,<1.8"
allow_failures:
- env: DJANGO_VERSION='https://github.com/django/django/archive/master.tar.gz'
- env: DJANGO_VERSION="Django>=1.6,<1.7"
python: '2.6'
before_install:
- pip install codecov
install:
- pip install -q "$DJANGO_VERSION"
- pip install -r example/requirements.txt
- pip install -q "$DJANGO_VERSION"
script:
- pip install .
- coverage run example/manage.py test
after_script:
- codecov
notifications:
irc:
channels:
- irc.freenode.org#django-fluent
template:
- '%{repository}#%{build_number} (%{commit}) %{message} -- %{build_url}'
skip_join: true
email:
recipients:
on_success: never
on_failure: always
slack:
secure: UQYHU07XN2kSAea1wFMMm9OsDJdavodhQsE8oT3SjxdXCbfBe/M1HXE8lbY2sZetWNiyQrZfodICDxhquQsNnUQ9IwMiSkWyofdT7rFA/2txPtf8bCnVMb0j0qJL+eKhFLBdtAEhi3PmuD2DqxcQxyz81enwtCk3vq8hzBEZu4I=
on_success: never
on_failure: always