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