From f0c46772fd088ffe0b77ee1b9343e29a6385fbb6 Mon Sep 17 00:00:00 2001 From: Peter Newman Date: Wed, 5 Jun 2019 00:31:45 +0100 Subject: [PATCH] docs(travis): Correct the docs to also show how to do it on Xenial (#3316) --- docs/plus/02-travis.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/plus/02-travis.md b/docs/plus/02-travis.md index e05cb465d..93f5b4a85 100644 --- a/docs/plus/02-travis.md +++ b/docs/plus/02-travis.md @@ -42,7 +42,17 @@ about like Karma. ## Configure Travis with Firefox Travis supports running a real browser (Firefox) with a virtual screen. Just update your `.travis.yml` to set up the virtual screen -like this: +like this (if you're using Xenial): +```ruby +language: node_js +node_js: + - "4" +dist: xenial +services: + - xvfb +``` + +Or this, for Trusty and below: ```ruby language: node_js node_js: