Update .travis.yml
This commit is contained in:
parent
8515c5bd9e
commit
a81b6e4fd5
1 changed files with 20 additions and 18 deletions
38
.travis.yml
38
.travis.yml
|
@ -1,8 +1,7 @@
|
|||
language: php
|
||||
|
||||
# For javascript behat tests we need sudo
|
||||
# For javascript behat tests we need sudo.
|
||||
sudo: true
|
||||
dist: trusty
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
@ -10,28 +9,30 @@ cache:
|
|||
- $HOME/.npm
|
||||
|
||||
php:
|
||||
- 7.2
|
||||
- 7.4
|
||||
- 7.2
|
||||
- 7.4
|
||||
|
||||
addons:
|
||||
firefox: 47.0.1
|
||||
postgresql: 9.6
|
||||
apt:
|
||||
packages:
|
||||
- openjdk-8-jre-headless
|
||||
firefox: 47.0.1
|
||||
postgresql: "9.6"
|
||||
apt:
|
||||
packages:
|
||||
- openjdk-8-jre-headless
|
||||
|
||||
services:
|
||||
- mysql
|
||||
- postgresql
|
||||
|
||||
env:
|
||||
global:
|
||||
- MOODLE_BRANCH=MOODLE_310_STABLE
|
||||
- IGNORE_NAMES=mobile_*.mustache # Mobile mustache has specific syntax, ignore their templates
|
||||
matrix:
|
||||
- DB=pgsql
|
||||
- DB=mysqli
|
||||
global:
|
||||
- MOODLE_BRANCH=MOODLE_310_STABLE
|
||||
- IGNORE_NAMES=mobile_*.mustache # Mobile mustache has specific syntax, ignore their templates
|
||||
matrix:
|
||||
- DB=pgsql
|
||||
- DB=mysqli
|
||||
|
||||
before_install:
|
||||
- phpenv config-rm xdebug.ini
|
||||
- nvm install 14.0
|
||||
- nvm use 14.0
|
||||
- cd ../..
|
||||
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
|
||||
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
|
||||
|
@ -47,6 +48,7 @@ script:
|
|||
- moodle-plugin-ci validate
|
||||
- moodle-plugin-ci savepoints
|
||||
- moodle-plugin-ci mustache
|
||||
- moodle-plugin-ci grunt -t stylelint:css -t js
|
||||
- moodle-plugin-ci grunt
|
||||
# - moodle-plugin-ci phpdoc # Complains about missing PHPDocs when they exist in parent class.
|
||||
- moodle-plugin-ci phpunit
|
||||
- moodle-plugin-ci behat
|
||||
|
|
Loading…
Reference in a new issue