diff options
author | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-08 18:14:20 -0200 |
---|---|---|
committer | dotnetCarpenter <jon.ronnenberg@gmail.com> | 2016-10-08 18:14:20 -0200 |
commit | 08deb709023640fcac270992f177d675094c8c43 (patch) | |
tree | 3c0681f4fd0dfcd59e68a65809ee3ea45d184eb0 /.travis.yml | |
parent | 3638955c43d114aa17bb0b72660506af5a5f7a54 (diff) | |
download | svg.js-08deb709023640fcac270992f177d675094c8c43.tar.gz svg.js-08deb709023640fcac270992f177d675094c8c43.zip |
be sure that firefox is not running before test starts
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |