|
@ -4,6 +4,7 @@ sudo: required |
|
|
|
|
|
|
|
|
services: |
|
|
services: |
|
|
- mysql |
|
|
- mysql |
|
|
|
|
|
- docker |
|
|
|
|
|
|
|
|
addons: |
|
|
addons: |
|
|
postgresql: "9.5" |
|
|
postgresql: "9.5" |
|
@ -11,7 +12,6 @@ addons: |
|
|
apt: |
|
|
apt: |
|
|
packages: |
|
|
packages: |
|
|
- openjdk-8-jre-headless |
|
|
- openjdk-8-jre-headless |
|
|
- chromium-chromedriver |
|
|
|
|
|
|
|
|
|
|
|
cache: |
|
|
cache: |
|
|
directories: |
|
|
directories: |
|
@ -37,7 +37,7 @@ before_install: |
|
|
- 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 |
|
|
- PATH=$(echo "$PATH" | sed -e 's/:\/usr\/local\/lib\/jvm\/openjdk11\/bin//') JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 |
|
|
|
|
|
- docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3 |
|
|
|
|
|
|
|
|
install: |
|
|
install: |
|
|
- moodle-plugin-ci install |
|
|
- moodle-plugin-ci install |
|
|