blob: 45212f79bbf380dbb5c8a1deb69ffbb5a611ea8e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
language: node_js
node_js:
- "node"
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
|