forked from django-treebeard/django-treebeard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
156 lines (131 loc) · 3.32 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# Use the faster container-based infrastructure
# https://docs.travis-ci.com/user/ci-environment/
sudo: false
language: python
addons:
# Newest available version currently
postgresql: "9.4"
matrix:
include:
#
# Django 1.8
- python: 2.7
env: TOXENV=py27-dj18-sqlite
- python: 3.4
env: TOXENV=py34-dj18-sqlite
- python: 3.5
env: TOXENV=py35-dj18-sqlite
- python: 3.6
env: TOXENV=py36-dj18-sqlite
- python: 2.7
env: TOXENV=py27-dj18-postgres
- python: 3.4
env: TOXENV=py34-dj18-postgres
- python: 3.5
env: TOXENV=py35-dj18-postgres
- python: 3.6
env: TOXENV=py36-dj18-postgres
- python: 2.7
env: TOXENV=py27-dj18-mysql
- python: 3.4
env: TOXENV=py34-dj18-mysql
- python: 3.5
env: TOXENV=py35-dj18-mysql
- python: 3.6
env: TOXENV=py36-dj18-mysql
#
# Django 1.9
- python: 2.7
env: TOXENV=py27-dj19-sqlite
- python: 3.4
env: TOXENV=py34-dj19-sqlite
- python: 3.5
env: TOXENV=py35-dj19-sqlite
- python: 3.6
env: TOXENV=py36-dj19-sqlite
- python: 2.7
env: TOXENV=py27-dj19-postgres
- python: 3.4
env: TOXENV=py34-dj19-postgres
- python: 3.5
env: TOXENV=py35-dj19-postgres
- python: 3.6
env: TOXENV=py36-dj19-postgres
- python: 2.7
env: TOXENV=py27-dj19-mysql
- python: 3.4
env: TOXENV=py34-dj19-mysql
- python: 3.5
env: TOXENV=py35-dj19-mysql
- python: 3.6
env: TOXENV=py36-dj19-mysql
#
# Django 1.10
- python: 2.7
env: TOXENV=py27-dj110-sqlite
- python: 3.4
env: TOXENV=py34-dj110-sqlite
- python: 3.5
env: TOXENV=py35-dj110-sqlite
- python: 3.6
env: TOXENV=py36-dj110-sqlite
- python: 2.7
env: TOXENV=py27-dj110-postgres
- python: 3.4
env: TOXENV=py34-dj110-postgres
- python: 3.5
env: TOXENV=py35-dj110-postgres
- python: 3.6
env: TOXENV=py36-dj110-postgres
- python: 2.7
env: TOXENV=py27-dj110-mysql
- python: 3.4
env: TOXENV=py34-dj110-mysql
- python: 3.5
env: TOXENV=py35-dj110-mysql
- python: 3.6
env: TOXENV=py36-dj110-mysql
#
# Django 1.11
- python: 2.7
env: TOXENV=py27-dj111-sqlite
- python: 3.5
env: TOXENV=py35-dj111-sqlite
- python: 3.6
env: TOXENV=py36-dj111-sqlite
- python: 2.7
env: TOXENV=py27-dj111-postgres
- python: 3.5
env: TOXENV=py35-dj111-postgres
- python: 3.6
env: TOXENV=py36-dj111-postgres
- python: 2.7
env: TOXENV=py27-dj111-mysql
- python: 3.5
env: TOXENV=py35-dj111-mysql
- python: 3.6
env: TOXENV=py36-dj111-mysql
#
# Django 2.0
- python: 3.5
env: TOXENV=py35-dj20-sqlite
- python: 3.6
env: TOXENV=py36-dj20-sqlite
- python: 3.5
env: TOXENV=py35-dj20-postgres
- python: 3.6
env: TOXENV=py36-dj20-postgres
- python: 3.5
env: TOXENV=py35-dj20-mysql
- python: 3.6
env: TOXENV=py36-dj20-mysql
install:
- pip install tox codecov
# Create MySQL and Postgres databases
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis_ci_test;' -uroot
script: tox
# Can discuss again if somebody wants them.
notifications:
email: false