Browse Source

Fix travis config.

MOODLE_36_STABLE
Dan Marsden 6 years ago
parent
commit
4621e1ffc1
  1. 21
      .travis.yml

21
.travis.yml

@ -7,8 +7,7 @@ addons:
postgresql: "9.4" postgresql: "9.4"
apt: apt:
packages: packages:
- oracle-java8-installer - openjdk-8-jre-headless
- oracle-java8-set-default
cache: cache:
directories: directories:
@ -16,22 +15,23 @@ cache:
- $HOME/.npm - $HOME/.npm
php: php:
- 7.1 - 7.0
- 7.2 - 7.2
env: env:
global: global:
- MOODLE_BRANCH=master - MOODLE_BRANCH=master
- MUSTACHE_IGNORE_NAMES=mobile_teacher_form.mustache - MUSTACHE_IGNORE_NAMES=mobile_teacher_form.mustache
matrix: matrix:
- DB=pgsql - DB=pgsql
- DB=mysqli - DB=mysqli
before_install: before_install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
- nvm install 8.9 - nvm install 8.9
- nvm use 8.9 - nvm use 8.9
- cd ../.. - cd ../..
- composer create-project -n --no-dev --prefer-dist moodlerooms/moodle-plugin-ci ci ^2 - composer create-project -n --no-dev --prefer-dist blackboard-open-source/moodle-plugin-ci ci ^2
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
install: install:
@ -46,5 +46,6 @@ script:
- moodle-plugin-ci savepoints - moodle-plugin-ci savepoints
- moodle-plugin-ci mustache - moodle-plugin-ci mustache
- moodle-plugin-ci grunt - moodle-plugin-ci grunt
- moodle-plugin-ci phpdoc
- moodle-plugin-ci phpunit - moodle-plugin-ci phpunit
- moodle-plugin-ci behat - moodle-plugin-ci behat
Loading…
Cancel
Save