Browse Source

Fix Travis config.

MOODLE_35_STABLE
Dan Marsden 5 years ago
parent
commit
5af8de8c36
  1. 24
      .travis.yml

24
.travis.yml

@ -4,11 +4,13 @@ sudo: true
addons: addons:
firefox: "47.0.1" firefox: "47.0.1"
postgresql: "9.3" postgresql: "9.4"
apt: apt:
packages: packages:
- oracle-java8-installer - openjdk-8-jre-headless
- oracle-java8-set-default
services:
- mysql
cache: cache:
directories: directories:
@ -18,21 +20,23 @@ cache:
php: php:
- 7.1 - 7.1
- 7.2 - 7.2
env: env:
global: global:
- MOODLE_BRANCH=MOODLE_35_STABLE - MOODLE_BRANCH=MOODLE_35_STABLE
- 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"
- PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//') JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
install: install:
- moodle-plugin-ci install - moodle-plugin-ci install

Loading…
Cancel
Save