|
|
@ -4,14 +4,15 @@ sudo: required |
|
|
|
|
|
|
|
services: |
|
|
|
- mysql |
|
|
|
- docker |
|
|
|
|
|
|
|
addons: |
|
|
|
postgresql: "9.5" |
|
|
|
firefox: "47.0.1" |
|
|
|
|
|
|
|
apt: |
|
|
|
packages: |
|
|
|
- openjdk-8-jre-headless |
|
|
|
- chromium-chromedriver |
|
|
|
|
|
|
|
cache: |
|
|
|
directories: |
|
|
@ -37,7 +38,6 @@ before_install: |
|
|
|
- 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 |
|
|
|
- docker run -d -p 127.0.0.1:4444:4444 --net=host -v /dev/shm:/dev/shm selenium/standalone-firefox:3 |
|
|
|
|
|
|
|
install: |
|
|
|
- moodle-plugin-ci install |
|
|
|