File tree Expand file tree Collapse file tree 2 files changed +23
-18
lines changed Expand file tree Collapse file tree 2 files changed +23
-18
lines changed Original file line number Diff line number Diff line change 2
2
3
3
sudo : required
4
4
language : python
5
- python :
6
- - " 3.7-dev"
7
- - " 3.6"
5
+ services :
6
+ - docker
8
7
9
8
cache : pip
10
9
11
10
matrix :
12
11
include :
13
- - addons :
14
- mariadb : 5.5
12
+ - env :
13
+ - DB= mariadb:5.5
15
14
python : " 3.5"
16
-
17
- - addons :
18
- mariadb : 10.1
15
+ - env :
16
+ - DB=mariadb:10.0
17
+ python : " 3.6"
18
+ - env :
19
+ - DB=mariadb:10.1
19
20
python : " pypy"
20
-
21
- - addons :
22
- mariadb : 10.2
21
+ - env :
22
+ - DB=mariadb:10.2
23
23
python : " 2.7"
24
-
25
24
- env :
26
- - DB=5.7
25
+ - DB=mariadb:10.3
26
+ python : " 3.7-dev"
27
+ - env :
28
+ - DB=mysql:5.5
29
+ python : " 3.5"
30
+ - env :
31
+ - DB=mysql:5.6
32
+ python : " 3.6"
33
+ - env :
34
+ - DB=mysql:5.7
27
35
python : " 3.4"
28
- services :
29
- - docker
30
-
31
36
32
37
# different py version from 5.6 and 5.7 as cache seems to be based on py version
33
38
# http://dev.mysql.com/downloads/mysql/5.7.html has latest development release version
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ if [ ! -z "${DB}" ]; then
9
9
# disable existing database server in case of accidential connection
10
10
sudo service mysql stop
11
11
12
- docker pull mysql: ${DB}
13
- docker run -it --name=mysqld -d -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -p 3306:3306 mysql: ${DB}
12
+ docker pull ${DB}
13
+ docker run -it --name=mysqld -d -e MYSQL_ALLOW_EMPTY_PASSWORD=yes -p 3306:3306 ${DB}
14
14
sleep 10
15
15
16
16
while :
You can’t perform that action at this time.
0 commit comments