From b5cf753b603d85710e5df03d3364fc80a0bf8ac5 Mon Sep 17 00:00:00 2001 From: Jesse Buchanan Date: Sun, 24 Jan 2016 21:54:14 -0500 Subject: [PATCH] Set up xvfb so Travis can run Karma tests --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index d2a5d7ceb5..b162332ee2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,10 @@ node_js: - "4" - "0.10" script: npm run build +before_install: + - export CHROME_BIN=chromium-browser + - export DISPLAY=:99.0 + - sh -e /etc/init.d/xvfb start notifications: email: on_failure: change