From fa0641ec47f9f32753b53598aff8f6ff808c6646 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 3 Oct 2018 15:34:13 +1300 Subject: [PATCH] update travis config. --- .travis.yml | 40 +++++++++++++++++++++++++--------------- 1 file changed, 25 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8c8830a..ddf9dd4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,19 @@ language: php +sudo: true + +addons: + firefox: "47.0.1" + postgresql: "9.4" + apt: + packages: + - oracle-java8-installer + - oracle-java8-set-default + cache: directories: - - $HOME/.composer/cache - -addons: - postgresql: "9.4" + - $HOME/.composer/cache + - $HOME/.npm php: - 7.0 @@ -29,22 +37,24 @@ matrix: before_install: - phpenv config-rm xdebug.ini + - nvm install 8.9 + - nvm use 8.9 - cd ../.. - composer selfupdate - - composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1 + - composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2 - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" install: - moodle-plugin-ci install -vvv script: - - moodle-plugin-ci validate - - moodle-plugin-ci phplint - - moodle-plugin-ci phpcpd - - moodle-plugin-ci phpmd - - moodle-plugin-ci codechecker - - moodle-plugin-ci csslint - - moodle-plugin-ci shifter - - moodle-plugin-ci jshint - - moodle-plugin-ci phpunit - - moodle-plugin-ci behat + - moodle-plugin-ci phplint + - moodle-plugin-ci phpcpd + - moodle-plugin-ci phpmd + - moodle-plugin-ci codechecker + - moodle-plugin-ci validate + - moodle-plugin-ci savepoints + - moodle-plugin-ci mustache + - moodle-plugin-ci grunt + - moodle-plugin-ci phpunit + - moodle-plugin-ci behat \ No newline at end of file