forked from mathiasertl/django-ca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (42 loc) · 1009 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
41
42
43
44
language: python
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "nightly"
env:
#- DJANGO_VERSION=2.1b1
- DJANGO_VERSION=2.0.6
- DJANGO_VERSION=1.11.13
install:
# Build/test dependencies
- pip install -U pip setuptools
- pip install -r requirements.txt -r requirements-dev.txt
- pip install Django==$DJANGO_VERSION
#before_script:
script:
- python setup.py code_quality
- python setup.py test
- python setup.py install
- fab init_demo
- make -C docs html-check
matrix:
exclude:
# Django 2.0 no longer supports python2
- env: DJANGO_VERSION=2.1b1
python: "3.4"
- env: DJANGO_VERSION=2.1b1
python: "2.7"
- env: DJANGO_VERSION=2.0.6
python: "2.7"
- env: DJANGO_VERSION=1.11.13
python: "nightly"
#notifications:
# irc:
# channels: "irc.freenode.org#fabric"
# template:
# - "%{repository}@%{branch}: %{message} (%{build_url})"
# on_success: change
# on_failure: change
# email: false