|
1 | | -language: bash |
| 1 | +language: shell |
| 2 | + |
| 3 | +os: linux |
| 4 | +dist: xenial |
| 5 | + |
2 | 6 | services: docker |
3 | | -fast_finish: true |
| 7 | + |
4 | 8 | env: |
5 | 9 | # phpunit |
6 | 10 | # PostgreSQL highest, lowest php supported |
7 | 11 | # We have set the "phpunit-full" to run against master |
8 | | - - "PHP=7.4 DB=pgsql GIT=master SUITE=phpunit-full" |
| 12 | + - "PHP=8.0 DB=pgsql GIT=master SUITE=phpunit-full" |
9 | 13 | - "PHP=7.3 DB=pgsql GIT=master SUITE=phpunit-full" |
10 | | - # Other dev branches, also "phpunit-full" |
11 | | - - "PHP=7.4 DB=pgsql GIT=MOODLE_311_STABLE SUITE=phpunit-full" |
12 | | - - "PHP=7.3 DB=pgsql GIT=MOODLE_311_STABLE SUITE=phpunit-full" |
| 14 | + # Other dev branches, also "phpunit-full" (parallel dev periods) |
13 | 15 | # Simpler "phpunit" for stables |
| 16 | + - "PHP=8.0 DB=pgsql GIT=MOODLE_311_STABLE SUITE=phpunit" |
| 17 | + - "PHP=7.3 DB=pgsql GIT=MOODLE_311_STABLE SUITE=phpunit" |
14 | 18 | - "PHP=7.4 DB=pgsql GIT=v3.10.0 SUITE=phpunit" |
15 | 19 | - "PHP=7.2 DB=pgsql GIT=v3.10.0 SUITE=phpunit" |
16 | 20 | - "PHP=7.4 DB=pgsql GIT=v3.9.1 SUITE=phpunit" |
|
20 | 24 | - "PHP=7.2 DB=pgsql GIT=v3.5.8 SUITE=phpunit" |
21 | 25 | - "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=phpunit" |
22 | 26 | # Other databases, only highest php supported |
| 27 | + - "PHP=8.0 DB=mssql GIT=MOODLE_311_STABLE SUITE=phpunit" |
23 | 28 | - "PHP=7.4 DB=mssql GIT=v3.10.0 SUITE=phpunit" |
24 | 29 | - "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=phpunit" |
25 | 30 | - "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=phpunit" |
26 | 31 | - "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=phpunit" |
| 32 | + - "PHP=8.0 DB=mysql GIT=MOODLE_311_STABLE SUITE=phpunit" |
27 | 33 | - "PHP=7.4 DB=mysql GIT=v3.10.0 SUITE=phpunit" |
28 | 34 | - "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=phpunit" |
29 | 35 | - "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=phpunit" |
30 | 36 | - "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=phpunit" |
| 37 | + - "PHP=8.0 DB=oracle GIT=MOODLE_311_STABLE SUITE=phpunit" |
31 | 38 | - "PHP=7.4 DB=oracle GIT=v3.10.0 SUITE=phpunit" |
32 | 39 | - "PHP=7.4 DB=oracle GIT=v3.9.1 SUITE=phpunit" |
33 | 40 | - "PHP=7.4 DB=oracle GIT=v3.8.4 SUITE=phpunit" |
34 | 41 | - "PHP=7.2 DB=oracle GIT=v3.5.8 SUITE=phpunit" |
35 | 42 | # MariaDB, only lowest php supported |
| 43 | + - "PHP=7.3 DB=mariadb GIT=MOODLE_311_STABLE SUITE=phpunit" |
36 | 44 | - "PHP=7.2 DB=mariadb GIT=v3.10.0 SUITE=phpunit" |
37 | 45 | - "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=phpunit" |
38 | 46 | - "PHP=7.1 DB=mariadb GIT=v3.8.4 SUITE=phpunit" |
39 | 47 | - "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=phpunit" |
40 | 48 | # behat |
41 | 49 | # PostgreSQL highest, lowest (2 browsers) |
42 | | - - "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=chrome" |
43 | | - - "PHP=7.4 DB=pgsql GIT=master SUITE=behat BROWSER=firefox" |
| 50 | + - "PHP=8.0 DB=pgsql GIT=master SUITE=behat BROWSER=chrome" |
| 51 | + - "PHP=8.0 DB=pgsql GIT=master SUITE=behat BROWSER=firefox" |
44 | 52 | - "PHP=7.3 DB=pgsql GIT=master SUITE=behat BROWSER=chrome" |
45 | 53 | - "PHP=7.3 DB=pgsql GIT=master SUITE=behat BROWSER=firefox" |
46 | | - - "PHP=7.4 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
47 | | - - "PHP=7.4 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=firefox" |
| 54 | + - "PHP=8.0 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
| 55 | + - "PHP=8.0 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=firefox" |
48 | 56 | - "PHP=7.3 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
49 | 57 | - "PHP=7.3 DB=pgsql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=firefox" |
50 | 58 | - "PHP=7.4 DB=pgsql GIT=v3.10.0 SUITE=behat BROWSER=chrome" |
|
64 | 72 | - "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=chrome" |
65 | 73 | - "PHP=7.0 DB=pgsql GIT=v3.5.8 SUITE=behat BROWSER=firefox" |
66 | 74 | # Other databases, only highest php supported (1 browsers) |
| 75 | + - "PHP=8.0 DB=mssql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
67 | 76 | - "PHP=7.4 DB=mssql GIT=v3.10.0 SUITE=behat BROWSER=firefox" |
68 | 77 | - "PHP=7.4 DB=mssql GIT=v3.9.1 SUITE=behat BROWSER=chrome" |
69 | 78 | - "PHP=7.4 DB=mssql GIT=v3.8.4 SUITE=behat BROWSER=firefox" |
70 | 79 | - "PHP=7.2 DB=mssql GIT=v3.5.8 SUITE=behat BROWSER=chrome" |
| 80 | + - "PHP=8.0 DB=mysql GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
71 | 81 | - "PHP=7.4 DB=mysql GIT=v3.10.0 SUITE=behat BROWSER=firefox" |
72 | 82 | - "PHP=7.4 DB=mysql GIT=v3.9.1 SUITE=behat BROWSER=chrome" |
73 | 83 | - "PHP=7.4 DB=mysql GIT=v3.8.4 SUITE=behat BROWSER=firefox" |
74 | 84 | - "PHP=7.2 DB=mysql GIT=v3.5.8 SUITE=behat BROWSER=chrome" |
| 85 | + - "PHP=8.0 DB=oracle GIT=MOODLE_311_STABLE SUITE=behat BROWSER=chrome" |
75 | 86 | - "PHP=7.4 DB=oracle GIT=v3.10.0 SUITE=behat BROWSER=firefox" |
76 | 87 | - "PHP=7.4 DB=oracle GIT=v3.9.1 SUITE=behat BROWSER=chrome" |
77 | 88 | - "PHP=7.4 DB=oracle GIT=v3.8.4 SUITE=behat BROWSER=firefox" |
78 | 89 | - "PHP=7.2 DB=oracle GIT=v3.5.8 SUITE=behat BROWSER=chrome" |
79 | 90 | # MariaDB, only lowest php supported (1 browsers) |
| 91 | + - "PHP=7.3 DB=mariadb GIT=MOODLE_311_STABLE SUITE=behat BROWSER=firefox" |
80 | 92 | - "PHP=7.2 DB=mariadb GIT=v3.10.0 SUITE=behat BROWSER=chrome" |
81 | 93 | - "PHP=7.2 DB=mariadb GIT=v3.9.1 SUITE=behat BROWSER=firefox" |
82 | 94 | - "PHP=7.2 DB=mariadb GIT=v3.8.4 SUITE=behat BROWSER=chrome" |
83 | 95 | - "PHP=7.0 DB=mariadb GIT=v3.5.8 SUITE=behat BROWSER=firefox" |
84 | | - # Mobile app |
85 | | - - "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app" |
86 | | - - "PHP=7.4 DB=pgsql GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0" |
| 96 | + # Mobile app, highest, lowest |
| 97 | + - "PHP=8.0 DB=pgsql GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app" |
| 98 | + - "PHP=8.0 DB=pgsql GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0" |
| 99 | + - "PHP=7.3 DB=pgsql GIT=master SUITE=behat-app-development BROWSER=chrome APP_VERSION=3.9.0 APP_PATH=$HOME/app" |
| 100 | + - "PHP=7.3 DB=pgsql GIT=master SUITE=behat-app BROWSER=chrome APP_VERSION=3.9.0" |
87 | 101 | install: |
88 | 102 | - git clone --branch $GIT --depth 1 git://github.com/moodle/moodle $HOME/moodle |
89 | 103 | - cp config.docker-template.php $HOME/moodle/config.php |
|
0 commit comments