moodle-auth_jwt/.travis.yml

54 lines
1.1 KiB
YAML
Raw Normal View History

2016-08-18 13:05:55 +00:00
language: php
cache:
directories:
- $HOME/.composer/cache
php:
- 5.6
- 7.0
addons:
postgresql: "9.3"
2016-08-18 13:05:55 +00:00
env:
global:
- DB=pgsql # There is not enough database usage to justify full check with mysqli too.
matrix:
- MOODLE_BRANCH=MOODLE_30_STABLE
- MOODLE_BRANCH=MOODLE_31_STABLE
- MOODLE_BRANCH=MOODLE_32_STABLE
- MOODLE_BRANCH=MOODLE_33_STABLE
- MOODLE_BRANCH=master
2016-08-18 13:05:55 +00:00
matrix:
include:
# Test old Moodle in PHP 5.6 only
- php: 5.6
env: MOODLE_BRANCH=MOODLE_29_STABLE
# Test MySQL
2016-08-18 13:05:55 +00:00
- php: 7.0
env: DB=mysqli MOODLE_BRANCH=master
# Test PHP 7.1
- php: 7.1
env: MOODLE_BRANCH=master
2016-08-18 13:05:55 +00:00
before_install:
- cd ../..
- composer selfupdate
- composer create-project -n --no-dev moodlerooms/moodle-plugin-ci ci ^1
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
install:
- moodle-plugin-ci install -vvv
2016-08-18 13:05:55 +00:00
script:
- moodle-plugin-ci phplint
- moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci csslint
- moodle-plugin-ci shifter
- moodle-plugin-ci jshint
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat