From 5af8de8c361cf320cdc584d0a537fe93bf995337 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 29 Aug 2019 14:04:24 +1200 Subject: [PATCH] Fix Travis config. --- .travis.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5a7862a..6122e74 100644 --- a/.travis.yml +++ b/.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