From 56080829336584cab176a42f3bdc7cdf0bb5f566 Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 7 Aug 2017 11:36:37 -0700 Subject: [PATCH] start xvfb once --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6db51a3..a72b5cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,11 +9,15 @@ addons: - google-chrome packages: - google-chrome-stable +before_script: +- export DISPLAY=:99.0 +- sh -e /etc/init.d/xvfb start +- sleep 3 script: - npm install -g bower - bower install -- xvfb-run wct -l chrome -- xvfb-run wct -l firefox +- wct -l chrome +- wct -l firefox - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'windows 10/microsoftedge@14' -s 'windows 8.1/internet explorer@11' -s 'os x 10.11/safari@10' -s 'os x 10.11/safari@9' -s 'Linux/chrome@41'; fi env: global: