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
|
language: php
|
||||||
|
|
||||||
# For javascript behat tests we need sudo
|
# For javascript behat tests we need sudo.
|
||||||
sudo: true
|
sudo: true
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
@ -15,11 +14,15 @@ php:
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
firefox: 47.0.1
|
firefox: 47.0.1
|
||||||
postgresql: 9.6
|
postgresql: "9.6"
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
- openjdk-8-jre-headless
|
- openjdk-8-jre-headless
|
||||||
|
|
||||||
|
services:
|
||||||
|
- mysql
|
||||||
|
- postgresql
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- MOODLE_BRANCH=MOODLE_310_STABLE
|
- MOODLE_BRANCH=MOODLE_310_STABLE
|
||||||
|
@ -30,8 +33,6 @@ env:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
- nvm install 14.0
|
|
||||||
- nvm use 14.0
|
|
||||||
- cd ../..
|
- cd ../..
|
||||||
- composer create-project -n --no-dev --prefer-dist moodlehq/moodle-plugin-ci ci ^3
|
- 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"
|
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
|
||||||
|
@ -47,6 +48,7 @@ script:
|
||||||
- moodle-plugin-ci validate
|
- moodle-plugin-ci validate
|
||||||
- moodle-plugin-ci savepoints
|
- moodle-plugin-ci savepoints
|
||||||
- moodle-plugin-ci mustache
|
- 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 phpunit
|
||||||
- moodle-plugin-ci behat
|
- moodle-plugin-ci behat
|
||||||
|
|
Loading…
Reference in a new issue