Skip to content

Commit e22216f

Browse files
committed
Make an all-mariadb run to confirm nothing breaks
Just to verify moodlehq#134 more extensively.
1 parent 508d2d8 commit e22216f

File tree

1 file changed

+39
-72
lines changed

1 file changed

+39
-72
lines changed

.travis.yml

Lines changed: 39 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -2,81 +2,48 @@ language: bash
22
services: docker
33
fast_finish: true
44
env:
5-
# Oracle jobs have been removed because there aren't public images anymore.
65
# phpunit
7-
# PostgreSQL highest, lowest php supported
8-
# We have set the "phpunit-full" to run against master
9-
- "PHP=7.4 DB=pgsql GIT=master SUITE=phpunit-full"
10-
- "PHP=7.2 DB=pgsql GIT=master SUITE=phpunit-full"
11-
# Other dev branches, also "phpunit-full"
12-
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=phpunit-full"
13-
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=phpunit-full"
14-
# Simpler "phpunit" for stables
15-
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=phpunit"
16-
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=phpunit"
17-
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=phpunit"
18-
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=phpunit"
19-
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=phpunit"
20-
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=phpunit"
21-
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=phpunit"
22-
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=phpunit"
23-
# Other databases, only highest php supported
24-
- "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=phpunit"
25-
- "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=phpunit"
26-
- "PHP=7.3 DB=mssql GIT=v3.7.2 SUITE=phpunit"
27-
- "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=phpunit"
28-
- "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=phpunit"
29-
- "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=phpunit"
30-
- "PHP=7.3 DB=mysql GIT=v3.7.2 SUITE=phpunit"
31-
- "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=phpunit"
32-
# MariaDB, only lowest php supported
33-
- "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=phpunit"
34-
- "PHP=7.1 DB=mariadb GIT=v3.8.4 SUITE=phpunit"
35-
- "PHP=7.1 DB=mariadb GIT=v3.7.2 SUITE=phpunit"
36-
- "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=phpunit"
6+
# Let's run all combinations of MariaDB.
7+
- "PHP=7.4 DB=mariadb GIT=master SUITE=phpunit-full"
8+
- "PHP=7.2 DB=mariadb GIT=master SUITE=phpunit-full"
9+
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=phpunit-full"
10+
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=phpunit-full"
11+
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=phpunit-full"
12+
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=phpunit-full"
13+
- "PHP=7.4 DB=mariadb GIT=v3.8.5 SUITE=phpunit-full"
14+
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=phpunit-full"
15+
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=phpunit-full"
16+
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=phpunit-full"
17+
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=phpunit-full"
18+
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=phpunit-full"
3719
# behat
38-
# PostgreSQL highest, lowest (2 browsers)
39-
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=chrome"
40-
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=firefox"
41-
- "PHP=7.2 DB=pgsql GIT=master SUITE=behat BROWSER=chrome"
42-
- "PHP=7.2 DB=pgsql GIT=master SUITE=behat BROWSER=firefox"
43-
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
44-
- "PHP=7.4 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
45-
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
46-
- "PHP=7.2 DB=pgsql GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
47-
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
48-
- "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
49-
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
50-
- "PHP=7.2 DB=pgsql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
51-
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
52-
- "PHP=7.4 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
53-
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
54-
- "PHP=7.1 DB=pgsql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
55-
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
56-
- "PHP=7.3 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
57-
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
58-
- "PHP=7.1 DB=pgsql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
59-
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
60-
- "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
61-
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
62-
- "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
63-
# Other databases, only highest php supported (1 browsers)
64-
- "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=behat BROWSER=chrome"
65-
- "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=behat BROWSER=firefox"
66-
- "PHP=7.3 DB=mssql GIT=v3.7.2 SUITE=behat BROWSER=chrome"
67-
- "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=behat BROWSER=firefox"
68-
- "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=behat BROWSER=firefox"
69-
- "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=behat BROWSER=chrome"
70-
- "PHP=7.3 DB=mysql GIT=v3.7.2 SUITE=behat BROWSER=firefox"
71-
- "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=behat BROWSER=chrome"
72-
# MariaDB, only lowest php supported (1 browsers)
73-
- "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=behat BROWSER=chrome"
74-
- "PHP=7.2 DB=mariadb GIT=v3.8.4 SUITE=behat BROWSER=firefox"
75-
- "PHP=7.1 DB=mariadb GIT=v3.7.2 SUITE=behat BROWSER=chrome"
76-
- "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=behat BROWSER=firefox"
20+
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat BROWSER=chrome"
21+
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat BROWSER=firefox"
22+
- "PHP=7.2 DB=mariadb GIT=master SUITE=behat BROWSER=chrome"
23+
- "PHP=7.2 DB=mariadb GIT=master SUITE=behat BROWSER=firefox"
24+
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
25+
- "PHP=7.4 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
26+
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=chrome"
27+
- "PHP=7.2 DB=mariadb GIT=MOODLE_310_STABLE SUITE=behat BROWSER=firefox"
28+
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=chrome"
29+
- "PHP=7.4 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=firefox"
30+
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=chrome"
31+
- "PHP=7.2 DB=mariadb GIT=v3.9.2 SUITE=behat BROWSER=firefox"
32+
- "PHP=7.4 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=chrome"
33+
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=firefox"
34+
- "PHP=7.2 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=chrome"
35+
- "PHP=7.1 DB=mariadb GIT=v3.8.5 SUITE=behat BROWSER=firefox"
36+
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=chrome"
37+
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=firefox"
38+
- "PHP=7.3 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=chrome"
39+
- "PHP=7.1 DB=mariadb GIT=v3.7.8 SUITE=behat BROWSER=firefox"
40+
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=chrome"
41+
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=firefox"
42+
- "PHP=7.2 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=chrome"
43+
- "PHP=7.0 DB=mariadb GIT=v3.5.14 SUITE=behat BROWSER=firefox"
7744
# Mobile app
78-
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app"
79-
- "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0"
45+
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app"
46+
- "PHP=7.4 DB=mariadb GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0"
8047
install:
8148
- git clone --branch $GIT --depth 1 git://github.com/moodle/moodle $HOME/moodle
8249
- cp config.docker-template.php $HOME/moodle/config.php

0 commit comments

Comments
 (0)