moodle-mod_htmlcert/.travis.yml

53 lines
1.2 KiB
YAML
Raw Normal View History

2017-02-16 12:12:19 +00:00
language: php
# For javascript behat tests we need sudo
sudo: true
2019-05-28 16:18:51 +00:00
dist: trusty
2017-02-16 12:12:19 +00:00
cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm
2017-02-16 12:12:19 +00:00
php:
- 7.0
2018-05-15 04:27:33 +00:00
- 7.2
2017-02-16 12:12:19 +00:00
2017-05-21 03:09:08 +00:00
addons:
firefox: 47.0.1
2017-05-21 03:09:08 +00:00
postgresql: 9.3
apt:
packages:
- openjdk-8-jre-headless
2017-05-21 03:09:08 +00:00
2017-02-16 12:12:19 +00:00
env:
global:
2018-05-17 09:29:15 +00:00
- MOODLE_BRANCH=MOODLE_35_STABLE
- IGNORE_NAMES=mobile_*.mustache # Mobile mustache has specific syntax, ignore their templates
2017-02-16 12:12:19 +00:00
matrix:
- DB=pgsql
- DB=mysqli
before_install:
- phpenv config-rm xdebug.ini
- nvm install 14.0
- nvm use 14.0
2017-02-16 12:12:19 +00:00
- cd ../..
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
2017-02-16 12:12:19 +00:00
- 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 phpcpd # subplugins often have similar code and cause "duplicated code" errors
# - moodle-plugin-ci phpmd # too much noise from this check, maybe, some day...
2017-02-16 12:12:19 +00:00
- moodle-plugin-ci codechecker
- moodle-plugin-ci validate
- moodle-plugin-ci savepoints
- moodle-plugin-ci mustache
- moodle-plugin-ci grunt -t stylelint:css -t js
2017-02-16 12:12:19 +00:00
- moodle-plugin-ci phpunit
- moodle-plugin-ci behat