Skip to content

Commit f0c4677

Browse files
peternewmanjohnjbarton
authored andcommitted
docs(travis): Correct the docs to also show how to do it on Xenial (#3316)
1 parent 3aea7ec commit f0c4677

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/plus/02-travis.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,17 @@ about like Karma.
4242
## Configure Travis with Firefox
4343
Travis supports running a real browser (Firefox) with a virtual
4444
screen. Just update your `.travis.yml` to set up the virtual screen
45-
like this:
45+
like this (if you're using Xenial):
46+
```ruby
47+
language: node_js
48+
node_js:
49+
- "4"
50+
dist: xenial
51+
services:
52+
- xvfb
53+
```
54+
55+
Or this, for Trusty and below:
4656
```ruby
4757
language: node_js
4858
node_js:

0 commit comments

Comments
 (0)