2016-08-18 13:05:55 +00:00
|
|
|
language: php
|
|
|
|
|
2020-05-08 05:14:59 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
recipients:
|
|
|
|
- dmitriim@catalyst-au.net
|
|
|
|
|
|
|
|
sudo: false
|
2018-01-29 00:40:20 +00:00
|
|
|
|
2016-08-18 13:05:55 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.composer/cache
|
|
|
|
|
2020-05-08 05:14:59 +00:00
|
|
|
addons:
|
|
|
|
postgresql: "9.6"
|
|
|
|
|
|
|
|
php:
|
|
|
|
- 7.1
|
|
|
|
- 7.2
|
|
|
|
- 7.3
|
|
|
|
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- DB=pgsql
|
|
|
|
matrix:
|
|
|
|
- MOODLE_BRANCH=MOODLE_33_STABLE
|
|
|
|
- MOODLE_BRANCH=MOODLE_34_STABLE
|
|
|
|
- MOODLE_BRANCH=MOODLE_35_STABLE
|
|
|
|
- MOODLE_BRANCH=MOODLE_36_STABLE
|
|
|
|
- MOODLE_BRANCH=MOODLE_37_STABLE
|
|
|
|
- MOODLE_BRANCH=MOODLE_38_STABLE
|
|
|
|
- MOODLE_BRANCH=master
|
2016-08-18 13:05:55 +00:00
|
|
|
|
2019-11-16 11:07:34 +00:00
|
|
|
matrix:
|
2020-05-08 05:14:59 +00:00
|
|
|
exclude:
|
2020-05-08 08:01:11 +00:00
|
|
|
- php: 7.1
|
|
|
|
env: MOODLE_BRANCH=master
|
|
|
|
- php: 7.2
|
|
|
|
env: MOODLE_BRANCH=MOODLE_33_STABLE
|
2020-05-08 05:14:59 +00:00
|
|
|
- php: 7.3
|
|
|
|
env: MOODLE_BRANCH=MOODLE_33_STABLE
|
|
|
|
- php: 7.3
|
|
|
|
env: MOODLE_BRANCH=MOODLE_34_STABLE
|
|
|
|
- php: 7.3
|
|
|
|
env: MOODLE_BRANCH=MOODLE_35_STABLE
|
2016-08-18 13:05:55 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- cd ../..
|
2020-05-08 05:14:59 +00:00
|
|
|
- composer selfupdate
|
|
|
|
- composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1
|
2016-08-18 13:05:55 +00:00
|
|
|
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
|
|
|
|
|
|
|
|
install:
|
2020-05-08 05:14:59 +00:00
|
|
|
- moodle-plugin-ci install -vvv
|
2016-08-18 13:05:55 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- moodle-plugin-ci phplint
|
2020-05-08 05:14:59 +00:00
|
|
|
- moodle-plugin-ci phpmd
|
2016-08-18 13:05:55 +00:00
|
|
|
- moodle-plugin-ci codechecker
|
2020-05-08 05:14:59 +00:00
|
|
|
- moodle-plugin-ci csslint
|
|
|
|
- moodle-plugin-ci shifter
|
|
|
|
- moodle-plugin-ci jshint
|
2016-08-18 13:05:55 +00:00
|
|
|
- moodle-plugin-ci phpunit
|
2017-05-14 23:11:24 +00:00
|
|
|
- moodle-plugin-ci behat
|