language: php notifications: email: recipients: - dmitriim@catalyst-au.net sudo: false cache: directories: - $HOME/.composer/cache php: - 7.0 - 7.1 addons: postgresql: "9.3" env: - 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 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: - moodle-plugin-ci install script: - moodle-plugin-ci validate - moodle-plugin-ci phplint - moodle-plugin-ci codechecker - moodle-plugin-ci csslint - moodle-plugin-ci shifter - moodle-plugin-ci jshint - moodle-plugin-ci phpunit - moodle-plugin-ci behat