From a03e7c764aabb4a671913de2c1037bbfb0bd7e20 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Thu, 29 Aug 2019 13:35:00 +1200 Subject: [PATCH] Force travis to use jdk 8 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5713bac..9d5bd04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ before_install: - cd ../.. - 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