@@ -16,22 +16,95 @@ addons:
16
16
17
17
services :
18
18
- mysql
19
+ - postgresql
20
+
21
+ matrix :
22
+ fast_finish : true
23
+ include :
24
+ - php : 7.0
25
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
26
+ - php : 7.0
27
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
28
+ - php : 7.1
29
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
30
+ - php : 7.1
31
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
32
+ - php : 7.1
33
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
34
+ - php : 7.1
35
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
36
+ - php : 7.1
37
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
38
+ - php : 7.1
39
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
40
+ - php : 7.2
41
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
42
+ - php : 7.2
43
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
44
+ - php : 7.2
45
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
46
+ - php : 7.2
47
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
48
+ - php : 7.2
49
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
50
+ - php : 7.2
51
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
52
+ - php : 7.2
53
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
54
+ - php : 7.2
55
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
56
+ - php : 7.2
57
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
58
+ - php : 7.2
59
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
60
+ - php : 7.2
61
+ env : DB=pgsql MOODLE_BRANCH=master
62
+ - php : 7.2
63
+ env : DB=mysqli MOODLE_BRANCH=master
64
+ - php : 7.3
65
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
66
+ - php : 7.3
67
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
68
+ - php : 7.3
69
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
70
+ - php : 7.3
71
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
72
+ - php : 7.3
73
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
74
+ - php : 7.3
75
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
76
+ - php : 7.3
77
+ env : DB=pgsql MOODLE_BRANCH=master
78
+ - php : 7.3
79
+ env : DB=mysqli MOODLE_BRANCH=master
80
+ - php : 7.4
81
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
82
+ - php : 7.4
83
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
84
+ - php : 7.4
85
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
86
+ - php : 7.4
87
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
88
+ - php : 7.4
89
+ env : DB=pgsql MOODLE_BRANCH=master
90
+ - php : 7.4
91
+ env : DB=mysqli MOODLE_BRANCH=master
92
+ allow_failures :
93
+ # Prevent Travis CI build faiures due to deprecated PHP warnings
94
+ - php : 7.4
95
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
96
+ - php : 7.4
97
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
98
+ - php : 7.4
99
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
100
+ - php : 7.4
101
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
19
102
20
- env :
21
- - DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
22
- - DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
23
- - DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
24
- - DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
25
- - DB=pgsql MOODLE_BRANCH=master
26
- - DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
27
- - DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
28
- - DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
29
- - DB=mysqli MOODLE_BRANCH=master
30
103
31
104
before_install :
32
105
- cd ../..
33
106
- composer selfupdate
34
- - composer create-project -n --no-dev moodlerooms /moodle-plugin-ci ci ^1
107
+ - composer create-project -n --no-dev moodlehq /moodle-plugin-ci ci ^3
35
108
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
36
109
37
110
install :
@@ -44,7 +117,7 @@ script:
44
117
- moodle-plugin-ci phpmd
45
118
- moodle-plugin-ci codechecker
46
119
# - moodle-plugin-ci csslint # No CSS
47
- - moodle-plugin-ci shifter
120
+ # - moodle-plugin-ci grunt # No JS
48
121
# - moodle-plugin-ci jshint # No JS
49
122
- moodle-plugin-ci phpunit
50
123
# - moodle-plugin-ci behat # No tests yet
0 commit comments