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:
firefox: "47.0.1"
postgresql: "9.3"
postgresql: "9.4"
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
- openjdk-8-jre-headless
services:
- mysql
cache:
directories:
@ -18,21 +20,23 @@ cache:
php:
- 7.1
- 7.2
env:
global:
- MOODLE_BRANCH=MOODLE_35_STABLE
- MUSTACHE_IGNORE_NAMES=mobile_teacher_form.mustache
matrix:
- DB=pgsql
- DB=mysqli
global:
- MOODLE_BRANCH=MOODLE_35_STABLE
- MUSTACHE_IGNORE_NAMES=mobile_teacher_form.mustache
matrix:
- DB=pgsql
- DB=mysqli
before_install:
- phpenv config-rm xdebug.ini
- nvm install 8.9
- nvm use 8.9
- 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"
- PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//') JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64
install:
- moodle-plugin-ci install

Loading…
Cancel
Save