@@ -12,27 +12,81 @@ sudo: required
12
12
13
13
addons :
14
14
firefox : " 35.0.1"
15
- postgresql : " 9.4 "
15
+ postgresql : " 9.6 "
16
16
17
17
services :
18
18
- mysql
19
19
20
- env :
21
- - DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE CI_PLUGIN=2
22
- - DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE CI_PLUGIN=2
23
- - DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE CI_PLUGIN=2
24
- - DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE CI_PLUGIN=2
25
- - DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE CI_PLUGIN=2
26
- - DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE CI_PLUGIN=2
27
-
28
20
matrix :
29
21
include :
22
+ - php : 7.0
23
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
24
+ - php : 7.0
25
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
26
+ - php : 7.1
27
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
28
+ - php : 7.1
29
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
30
30
- php : 7.1
31
- env : DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE CI_PLUGIN=2
31
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
32
32
- php : 7.1
33
- env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE CI_PLUGIN=2
33
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
34
+ - php : 7.1
35
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
36
+ - php : 7.1
37
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
38
+ - php : 7.2
39
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
40
+ - php : 7.2
41
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
42
+ - php : 7.2
43
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
44
+ - php : 7.2
45
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
46
+ - php : 7.2
47
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
48
+ - php : 7.2
49
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
50
+ - php : 7.2
51
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
52
+ - php : 7.2
53
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
54
+ - php : 7.2
55
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
56
+ - php : 7.2
57
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
58
+ - php : 7.2
59
+ env : DB=pgsql MOODLE_BRANCH=master
60
+ - php : 7.2
61
+ env : DB=mysqli MOODLE_BRANCH=master
62
+ - php : 7.3
63
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
64
+ - php : 7.3
65
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
66
+ - php : 7.3
67
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
68
+ - php : 7.3
69
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
70
+ - php : 7.3
71
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
72
+ - php : 7.3
73
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
74
+ - php : 7.3
75
+ env : DB=pgsql MOODLE_BRANCH=master
34
76
- php : 7.3
35
- env : DB=mysqli MOODLE_BRANCH=master CI_PLUGIN=2
77
+ env : DB=mysqli MOODLE_BRANCH=master
78
+ - php : 7.4
79
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_38_STABLE
80
+ - php : 7.4
81
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_38_STABLE
82
+ - php : 7.4
83
+ env : DB=pgsql MOODLE_BRANCH=MOODLE_39_STABLE
84
+ - php : 7.4
85
+ env : DB=mysqli MOODLE_BRANCH=MOODLE_39_STABLE
86
+ - php : 7.4
87
+ env : DB=pgsql MOODLE_BRANCH=master
88
+ - php : 7.4
89
+ env : DB=mysqli MOODLE_BRANCH=master
36
90
37
91
before_install :
38
92
- sudo hostname short-hostname
@@ -42,11 +96,7 @@ before_install:
42
96
- if [ "$MOODLE_VERSION" = 36 ] || [ "$MOODLE_VERSION" -le 34 ]; then NVMVERSION=8.9; else NVMVERSION=14.0.0; fi
43
97
- nvm install $NVMVERSION;
44
98
- nvm use $NVMVERSION;
45
- - if [ "$CI_PLUGIN" = 2 ]; then
46
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2;
47
- else
48
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^1;
49
- fi
99
+ - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3;
50
100
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
51
101
52
102
install :
@@ -58,13 +108,7 @@ script:
58
108
- moodle-plugin-ci phpmd
59
109
- moodle-plugin-ci codechecker
60
110
- moodle-plugin-ci validate
61
- - if [ "$CI_PLUGIN" = 2 ]; then
62
- moodle-plugin-ci savepoints || travis_terminate 1;
63
- moodle-plugin-ci grunt || travis_terminate 1;
64
- else
65
- moodle-plugin-ci csslint || travis_terminate 1;
66
- moodle-plugin-ci jshint || travis_terminate 1;
67
- moodle-plugin-ci shifter || travis_terminate 1;
68
- fi
111
+ - moodle-plugin-ci savepoints || travis_terminate 1;
112
+ - moodle-plugin-ci grunt || travis_terminate 1;
69
113
- moodle-plugin-ci phpunit
70
114
- moodle-plugin-ci behat
0 commit comments