Skip to content

Commit

Permalink
Added xvfb to services Wunderbyte-GmbH#68
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpollak committed Jul 29, 2019
1 parent c1e4005 commit 3f38d1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist: xenial

language: php

sudo: false
Expand All @@ -17,6 +19,7 @@ addons:

services:
- mysql
- xvfb

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

# Unit tests and behat tests against full matrix.
Expand Down

0 comments on commit 3f38d1e

Please sign in to comment.