]> source.dussan.org Git - svg.js.git/commitdiff
be sure that firefox is not running before test starts
authordotnetCarpenter <jon.ronnenberg@gmail.com>
Sat, 8 Oct 2016 20:14:20 +0000 (18:14 -0200)
committerdotnetCarpenter <jon.ronnenberg@gmail.com>
Sat, 8 Oct 2016 20:14:20 +0000 (18:14 -0200)
.travis.yml

index ac038294a403fd37d0068024b6494e3c693b5b5c..45212f79bbf380dbb5c8a1deb69ffbb5a611ea8e 100644 (file)
@@ -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