From 6e9f189cdba529e41c345abfd26ffecaede65c4b Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Tue, 2 Jan 2018 20:06:16 +0100 Subject: First behat tests --- .travis.yml | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 8c7fc69..39c517b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,41 +1,45 @@ language: php -sudo: false +sudo: required + +addons: + firefox: "47.0.1" + postgresql: "9.3" + apt: + packages: + - oracle-java8-installer + - oracle-java8-set-default cache: directories: - $HOME/.composer/cache + - $HOME/.npm -php: -# - 5.6 +php: - 7.0 - 7.1 -addons: - firefox: "47.0.1" - postgresql: "9.3" - env: - MOODLE_BRANCH=MOODLE_32_STABLE DB=pgsql IGNORE_PATHS=mobile_src before_install: - phpenv config-rm xdebug.ini + - nvm install 8.9 + - nvm use 8.9 - cd ../.. - - composer selfupdate - - composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^1 + - composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2 - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" install: - moodle-plugin-ci install + script: - moodle-plugin-ci phplint - - moodle-plugin-ci csslint -# - moodle-plugin-ci stylelint - - moodle-plugin-ci jshint - - moodle-plugin-ci phpcpd - moodle-plugin-ci phpmd - moodle-plugin-ci codechecker -# - moodle-plugin-ci shifter - 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 + - moodle-plugin-ci behat -- cgit v1.2.3