From 08deb709023640fcac270992f177d675094c8c43 Mon Sep 17 00:00:00 2001 From: dotnetCarpenter Date: Sat, 8 Oct 2016 18:14:20 -0200 Subject: be sure that firefox is not running before test starts --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index ac03829..45212f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,15 @@ script: npm test # sudo is needed to install the newest firefox sudo: true before_install: + - firefox -v # install newest firefox - sudo add-apt-repository -y ppa:mozillateam/firefox-next - sudo apt-get update #- sudo apt-get -q update - sudo apt-get install -y firefox + # stop firefox is it's running + - sudo kill $(pidof firefox) + - firefox -v # Start a display server where all graphical operations happens in memory - export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start -- cgit v1.2.3