Update .travis.yml
This commit is contained in:
parent
8515c5bd9e
commit
a81b6e4fd5
1 changed files with 20 additions and 18 deletions
14
.travis.yml
14
.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:
|
||||
|
@ -15,11 +14,15 @@ php:
|
|||
|
||||
addons:
|
||||
firefox: 47.0.1
|
||||
postgresql: 9.6
|
||||
postgresql: "9.6"
|
||||
apt:
|
||||
packages:
|
||||
- openjdk-8-jre-headless
|
||||
|
||||
services:
|
||||
- mysql
|
||||
- postgresql
|
||||
|
||||
env:
|
||||
global:
|
||||
- MOODLE_BRANCH=MOODLE_310_STABLE
|
||||
|
@ -30,8 +33,6 @@ env:
|
|||
|
||||
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