Browse Source

Force travis to use jdk 8

MOODLE_36_STABLE
Dan Marsden 5 years ago
parent
commit
9411872b6a
  1. 1
      .travis.yml

1
.travis.yml

@ -32,6 +32,7 @@ before_install:
- cd ../.. - cd ../..
- composer create-project -n --no-dev --prefer-dist blackboard-open-source/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