moodle-auth_jwt/.travis.yml

69 lines
1.7 KiB
YAML
Raw Normal View History

2016-08-18 13:05:55 +00:00
language: php
2019-11-16 11:07:34 +00:00
addons:
firefox: "47.0.1"
postgresql: "9.4"
2018-01-29 00:40:20 +00:00
2016-08-18 13:05:55 +00:00
cache:
directories:
- $HOME/.composer/cache
2019-11-16 11:07:34 +00:00
- $HOME/.npm
2016-08-18 13:05:55 +00:00
2019-11-16 11:07:34 +00:00
dist: trusty
2016-08-18 13:05:55 +00:00
2019-11-16 11:07:34 +00:00
matrix:
include:
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
- php: 7.0
env: DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
- php: 7.0
env: DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_33_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_33_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_34_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_34_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_35_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_35_STABLE
- php: 7.1
env: DB=mysqli MOODLE_BRANCH=MOODLE_36_STABLE
- php: 7.1
env: DB=pgsql MOODLE_BRANCH=MOODLE_36_STABLE
- php: 7.2
env: DB=mysqli MOODLE_BRANCH=MOODLE_37_STABLE
- php: 7.2
env: DB=pgsql MOODLE_BRANCH=MOODLE_37_STABLE
- php: 7.2
env: DB=mysqli MOODLE_BRANCH=master
- php: 7.2
env: DB=pgsql MOODLE_BRANCH=master
2016-08-18 13:05:55 +00:00
before_install:
2019-11-16 11:07:34 +00:00
- phpenv config-rm xdebug.ini
- nvm install 8.9
- nvm use 8.9
2016-08-18 13:05:55 +00:00
- cd ../..
2019-11-16 11:07:34 +00:00
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2
2016-08-18 13:05:55 +00:00
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
install:
2018-01-29 00:40:20 +00:00
- moodle-plugin-ci install
2016-08-18 13:05:55 +00:00
script:
- moodle-plugin-ci phplint
- moodle-plugin-ci codechecker
2019-11-16 11:07:34 +00:00
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints
- moodle-plugin-ci mustache
- moodle-plugin-ci grunt
2016-08-18 13:05:55 +00:00
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat