Browse Source

Force travis to use jdk 8

see: https://github.com/blackboard-open-source/moodle-plugin-ci/issues/91
nwp90-nwp90-allsessionsreport
Dan Marsden 5 years ago
parent
commit
d2a80d3a65
  1. 2
      .travis.yml

2
.travis.yml

@ -10,6 +10,7 @@ addons:
postgresql: "9.4" postgresql: "9.4"
apt: apt:
packages: packages:
- openjdk-8-jre-headless -
cache: cache:
directories: directories:
@ -34,6 +35,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