Skip to content

Commit

Permalink
use openjdk8 Wunderbyte-GmbH#68
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpollak committed Jul 29, 2019
1 parent 4571f64 commit 95fa1aa
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ language: php

sudo: false

dist: trusty
dist: xenial

cache:
directories:
- $HOME/.composer/cache
- $HOME/.npm

addons:
chrome: stable
postgresql: "9.4"
apt:
packages:
- default-jre
- openjdk-8-jre-headless
# - default-jre
- chromium-chromedriver
- google-chrome-stable

Expand Down Expand Up @@ -42,6 +44,8 @@ matrix:
fast_finish: true

before_install:
before_install:
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost
- phpenv config-rm xdebug.ini
- nvm install v8.9.4
- cd ../..
Expand All @@ -68,9 +72,6 @@ jobs:
- moodle-plugin-ci validate

install:
# Check what versions are currently installed.
- /usr/lib/chromium-browser/chromedriver --version
- chromium-browser --version
- moodle-plugin-ci install
- xvfb-run -a --server-args="-screen 0 1024x768x24" make test java -Dwebdriver.chrome.driver=/usr/lib/chromium-browser/chromedriver -jar ${MOODLE_SELENIUM_JAR} -log /tmp/selenium.log &
- php -t ${MOODLE_DIR} -S localhost:8000 > /tmp/php-access.log 2> /tmp/php-error.log &
Expand Down

0 comments on commit 95fa1aa

Please sign in to comment.