Install latest chrome before running tests

This commit is contained in:
Evert Timberg
2016-04-02 09:37:20 -04:00
parent 5c1f242785
commit 7875b0c68d

View File

@@ -4,9 +4,13 @@ node_js:
- "4.3"
before_install:
- "export CHROME_BIN=chromium-browser"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sudo apt-get update"
- "sudo apt-get install -y libappindicator1 fonts-liberation"
- "wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
- "sudo dpkg -i google-chrome*.deb"
- "export CHROME_BIN=/usr/bin.google-chrome"
before_script:
- npm install
@@ -19,6 +23,7 @@ script:
notifications:
slack: chartjs:pcfCZR6ugg5TEcaLtmIfQYuA
sudo: false
sudo: required
addons:
firefox: latest