1 | dist: xenial
|
2 | language: node_js
|
3 | node_js:
|
4 | - "12"
|
5 | - "10"
|
6 | - "8"
|
7 |
|
8 | services:
|
9 | # https://docs.travis-ci.com/user/gui-and-headless-browsers/#using-services
|
10 | # https://benlimmer.com/2019/01/14/travis-ci-xvfb/
|
11 | - xvfb
|
12 | addons:
|
13 | apt:
|
14 | packages:
|
15 | # Fix libgconf-2.so.4 errors
|
16 | # https://github.com/cypress-io/cypress/issues/4069#issuecomment-488315675
|
17 | - libgconf-2-4
|
18 |
|
19 | before_install:
|
20 | - curl --location http://rawgit.com/twolfson/fix-travis-ci/master/lib/install.sh | bash -s
|
21 |
|
22 | notifications:
|
23 | email:
|
24 | recipients:
|
25 | - todd@twolfson.com
|
26 | on_success: change
|
27 | on_failure: change
|