diff --git a/.travis.yml b/.travis.yml index 3534454..01343c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,12 @@ -# Source : https://github.com/blackboard-open-source/moodle-plugin-ci/blob/master/.travis.dist.yml - language: php -sudo: true - addons: - firefox: "47.0.1" - postgresql: "9.4" - apt: - packages: - - openjdk-8-jre-headless + postgresql: "9.6" + +services: + - mysql + - postgresql + - docker cache: directories: @@ -17,25 +14,21 @@ cache: - $HOME/.npm php: - - 7.0 - - 7.1 + - 7.2 + - 7.3 + - 7.4 env: global: - - MOODLE_BRANCH=MOODLE_35_STABLE + - MOODLE_BRANCH=MOODLE_39_STABLE matrix: - DB=pgsql - DB=mysqli -services: - - mysql - before_install: - phpenv config-rm xdebug.ini - - nvm install 8.9 - - nvm use 8.9 - cd ../.. - - composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 + - composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3 - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" install: @@ -50,3 +43,6 @@ script: - moodle-plugin-ci savepoints - moodle-plugin-ci mustache - moodle-plugin-ci grunt + - moodle-plugin-ci phpdoc + - moodle-plugin-ci phpunit + - moodle-plugin-ci behat --dump