|
@ -4,11 +4,13 @@ sudo: true |
|
|
|
|
|
|
|
|
addons: |
|
|
addons: |
|
|
firefox: "47.0.1" |
|
|
firefox: "47.0.1" |
|
|
postgresql: "9.3" |
|
|
postgresql: "9.4" |
|
|
apt: |
|
|
apt: |
|
|
packages: |
|
|
packages: |
|
|
- oracle-java8-installer |
|
|
- openjdk-8-jre-headless |
|
|
- oracle-java8-set-default |
|
|
|
|
|
|
|
|
services: |
|
|
|
|
|
- mysql |
|
|
|
|
|
|
|
|
cache: |
|
|
cache: |
|
|
directories: |
|
|
directories: |
|
@ -18,6 +20,7 @@ cache: |
|
|
php: |
|
|
php: |
|
|
- 7.1 |
|
|
- 7.1 |
|
|
- 7.2 |
|
|
- 7.2 |
|
|
|
|
|
|
|
|
env: |
|
|
env: |
|
|
global: |
|
|
global: |
|
|
- MOODLE_BRANCH=MOODLE_35_STABLE |
|
|
- MOODLE_BRANCH=MOODLE_35_STABLE |
|
@ -31,8 +34,9 @@ before_install: |
|
|
- nvm install 8.9 |
|
|
- nvm install 8.9 |
|
|
- nvm use 8.9 |
|
|
- nvm use 8.9 |
|
|
- cd ../.. |
|
|
- 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" |
|
|
- 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 |
|
|