Skip to content

Commit

Permalink
docs(travis): Correct the docs to also show how to do it on Xenial (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewman authored and johnjbarton committed Jun 4, 2019
1 parent 3aea7ec commit f0c4677
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/plus/02-travis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f0c4677

Please sign in to comment.