Skip to content
Snippets Groups Projects
Unverified Commit 8cdef416 authored by Alexander Bias's avatar Alexander Bias Committed by GitHub
Browse files

Update .travis.yml

* Reflect latest upstream changes
* Use master instead of ^2 to overcome problems
* Use chrome instead of firefox to overcome problems
parent 790356cb
No related branches found
No related tags found
No related merge requests found
...@@ -2,15 +2,17 @@ language: php ...@@ -2,15 +2,17 @@ language: php
sudo: true sudo: true
services:
- mysql
addons: addons:
firefox: "47.0.1" chrome: stable
postgresql: "9.4" postgresql: "9.4"
apt: apt:
packages: packages:
- openjdk-8-jre-headless - openjdk-8-jre-headless
- chromium-chromedriver
services:
- mysql
- postgresql
cache: cache:
directories: directories:
...@@ -34,8 +36,9 @@ before_install: ...@@ -34,8 +36,9 @@ before_install:
- nvm install 8.9 - nvm install 8.9
- nvm use 8.9 - nvm use 8.9
- cd ../.. - cd ../..
- 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 dev-master
- export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH" - export PATH="$(cd ci/bin; pwd):$(cd ci/vendor/bin; pwd):$PATH"
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://127.0.0.1 &
install: install:
- moodle-plugin-ci install - moodle-plugin-ci install
...@@ -51,4 +54,4 @@ script: ...@@ -51,4 +54,4 @@ script:
- moodle-plugin-ci grunt - moodle-plugin-ci grunt
- moodle-plugin-ci phpdoc - moodle-plugin-ci phpdoc
- moodle-plugin-ci phpunit - moodle-plugin-ci phpunit
- moodle-plugin-ci behat --dump - moodle-plugin-ci behat --profile chrome --dump
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment