Skip to content

Commit b7cfabd

Browse files
authored
Merge pull request catalyst#148 from catalyst/travis-update-202010
Update Travis CI test suite update for supported general/security release combinations
2 parents 2f58d33 + 6a68974 commit b7cfabd

File tree

1 file changed

+69
-25
lines changed

1 file changed

+69
-25
lines changed

.travis.yml

+69-25
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,81 @@ sudo: required
1212

1313
addons:
1414
firefox: "35.0.1"
15-
postgresql: "9.4"
15+
postgresql: "9.6"
1616

1717
services:
1818
- mysql
1919

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-
2820
matrix:
2921
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
3030
- php: 7.1
31-
env: DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE CI_PLUGIN=2
31+
env: DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
3232
- 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
3476
- 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
3690

3791
before_install:
3892
- sudo hostname short-hostname
@@ -42,11 +96,7 @@ before_install:
4296
- if [ "$MOODLE_VERSION" = 36 ] || [ "$MOODLE_VERSION" -le 34 ]; then NVMVERSION=8.9; else NVMVERSION=14.0.0; fi
4397
- nvm install $NVMVERSION;
4498
- 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;
50100
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
51101

52102
install:
@@ -58,13 +108,7 @@ script:
58108
- moodle-plugin-ci phpmd
59109
- moodle-plugin-ci codechecker
60110
- 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;
69113
- moodle-plugin-ci phpunit
70114
- moodle-plugin-ci behat

0 commit comments

Comments
 (0)