diff --git a/.travis.yml b/.travis.yml index 9b83de25..eca5e0ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +dist: xenial + language: php sudo: false @@ -17,6 +19,7 @@ addons: services: - mysql + - xvfb php: - 7.1 @@ -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.