-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
97 lines (86 loc) · 2.12 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
language: python
sudo: false
python:
- "3.6"
- "3.5"
- "3.4"
- "2.7"
env:
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
# - DJANGO=2.1
- DJANGO=master
matrix:
fast_finish: true
include:
- { python: "3.3", env: TOXENV=py33-django-18 }
- { python: "3.7", env: TOXENV=py37-django-21 }
- { python: "3.5", env: TOXENV=check }
- { python: "3.5", env: TOXENV=docs }
exclude:
# Django support for different python versions reference
# https://docs.djangoproject.com/en/dev/faq/install/#faq-python-version-support
- { python: "2.7", env: DJANGO=2.0 }
- { python: "2.7", env: DJANGO=2.1 }
- { python: "2.7", env: DJANGO=master }
- { python: "3.4", env: DJANGO=2.1 }
- { python: "3.4", env: DJANGO=master }
- { python: "3.6", env: DJANGO=1.8 }
- { python: "3.6", env: DJANGO=1.9 }
- { python: "3.6", env: DJANGO=1.10 }
allow_failures:
- python: "3.4"
- python: "2.7"
- env: DJANGO=1.8
- env: DJANGO=1.9
- env: DJANGO=1.10
- env: DJANGO=2.1
- env: DJANGO=master
before_install:
- python --version
- uname -a
- lsb_release -a
- sudo apt-get install -y git-flow python-enchant
install:
- pip install -r requirements/development.txt coveralls tox-travis
- pip install .
- virtualenv --version
- easy_install --version
- pip --version
- tox --version
- git --version
script:
- tox --skip-missing-interpreters
jobs:
include:
- stage: make
python: "3.5"
script:
- which python
- tox --version
- pwd
- ls -la
- make
- make bump
- make lint
- make test
- make tox
- make detox
- make coverage
- make dist
- make install
- make docs
# Lint again after docs generation
- make lint
- make clean
after_success:
- bash <(curl -s https://codecov.io/bash)
- codecov -e TOXENV,DJANGO
- coveralls
notifications:
email:
on_success: never
on_failure: change