From 53aab1474d55ee625e74f509f6a568037754038a Mon Sep 17 00:00:00 2001 From: niftylettuce Date: Fri, 13 Sep 2019 10:10:48 -0500 Subject: [PATCH 1/2] Fix travis.yml (trusty > xenial) Builds otherwise fail without this. Ref: --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad55ec1..d5f0774 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js sudo: required -dist: trusty +dist: xenial node_js: - 8 addons: From c7e5c594699bd3024e0acfec3ee28491333ac19d Mon Sep 17 00:00:00 2001 From: niftylettuce Date: Fri, 13 Sep 2019 10:16:19 -0500 Subject: [PATCH 2/2] Added "xvfb" to travis services Ref: https://stackoverflow.com/questions/55674746/travis-sh-0-cant-open-etc-init-d-xvfb --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d5f0774..81240ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,11 @@ addons: - google-chrome packages: - google-chrome-stable +services: + - xvfb before_install: - export CHROME_BIN=chromium-browser - export DISPLAY=:99.0 -- sh -e /etc/init.d/xvfb start before_script: - npm install script: