Some how travis-ci will not run with the following configuration:
{
"os": "linux",
"env": "MOODLE_BRANCH=MOODLE_34_STABLE DB=pgsql",
"php": 5.6,
"dist": "trusty",
"sudo": false,
"cache": {
"directories": [
"$HOME/.composer/cache"
]
},
"group": "stable",
"script": [
"moodle-plugin-ci phplint",
"moodle-plugin-ci phpcpd",
"moodle-plugin-ci phpmd",
"moodle-plugin-ci codechecker",
"moodle-plugin-ci validate",
"moodle-plugin-ci phpunit",
"moodle-plugin-ci behat",
"moodle-plugin-ci shifter",
"moodle-plugin-ci csslint"
],
"install": [
"moodle-plugin-ci install"
],
"language": "php",
"before_install": [
"phpenv config-rm xdebug.ini",
"cd ../..",
"composer selfupdate",
"composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^1",
"export PATH=\"$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH\""
]
}
moodle-plugin-ci install throws the following error:
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/travis/build/moodle/lib/classes/component.php on line 1264
For more look here:
https://travis-ci.org/moodlepeers/moodle-mod_groupformation/builds/376957505
Anybody any idea how fix it?