diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-02 20:06:16 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2018-01-02 20:06:16 +0100 |
commit | 6e9f189cdba529e41c345abfd26ffecaede65c4b (patch) | |
tree | 97135440a2f8bb5b20a33609aae46ec8c2feabc1 /.travis.yml | |
parent | 0facd32d3a1c784dcc262b3f421717c633b83547 (diff) |
First behat tests
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 34 |
1 files changed, 19 insertions, 15 deletions
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 |