2016-08-18 13:05:55 +00:00
|
|
|
language: php
|
|
|
|
|
2018-01-29 00:40:20 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- dmitriim@catalyst-au.net
|
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2016-08-18 13:05:55 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
|
|
|
php:
|
2017-05-14 23:11:24 +00:00
|
|
|
- 7.0
|
2018-01-29 00:40:20 +00:00
|
|
|
- 7.1
|
2017-05-14 23:11:24 +00:00
|
|
|
|
|
|
|
addons:
|
|
|
|
postgresql: "9.3"
|
2016-08-18 13:05:55 +00:00
|
|
|
|
|
|
|
env:
|
2018-01-29 00:40:20 +00:00
|
|
|
- DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
|
|
|
|
- DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
|
|
|
|
- DB=pgsql MOODLE_BRANCH=master
|
|
|
|
- DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
|
|
|
|
- DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
|
|
|
|
- DB=mysqli MOODLE_BRANCH=master
|
2016-08-18 13:05:55 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- cd ../..
|
|
|
|
- composer selfupdate
|
|
|
|
- composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1
|
|
|
|
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
|
|
|
|
|
|
|
|
install:
|
2018-01-29 00:40:20 +00:00
|
|
|
- moodle-plugin-ci install
|
2016-08-18 13:05:55 +00:00
|
|
|
|
|
|
|
script:
|
2018-01-29 00:40:20 +00:00
|
|
|
- moodle-plugin-ci validate
|
2016-08-18 13:05:55 +00:00
|
|
|
- moodle-plugin-ci phplint
|
|
|
|
- moodle-plugin-ci codechecker
|
|
|
|
- moodle-plugin-ci csslint
|
|
|
|
- moodle-plugin-ci shifter
|
|
|
|
- moodle-plugin-ci jshint
|
|
|
|
- moodle-plugin-ci phpunit
|
2017-05-14 23:11:24 +00:00
|
|
|
- moodle-plugin-ci behat
|