|
|
@ -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,6 +20,7 @@ cache: |
|
|
|
php: |
|
|
|
- 7.1 |
|
|
|
- 7.2 |
|
|
|
|
|
|
|
env: |
|
|
|
global: |
|
|
|
- MOODLE_BRANCH=MOODLE_35_STABLE |
|
|
@ -31,8 +34,9 @@ before_install: |
|
|
|
- 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 |
|
|
|