ci - deps - download latest chrome and firefox

This commit is contained in:
kumavis 2017-09-11 22:24:19 -07:00
parent 2478fd85c2
commit 4549845286
1 changed files with 12 additions and 1 deletions

View File

@ -3,4 +3,15 @@ machine:
version: 8.1.4
test:
override:
- "npm run ci"
- "npm run ci"
dependencies:
pre:
- sudo apt-get update
# get latest stable firefox
- sudo apt-get install firefox
- firefox_cmd=`which firefox`; sudo rm -f $firefox_cmd; sudo ln -s `which firefox.ubuntu` $firefox_cmd
# get latest stable chrome
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- sudo apt-get update
- sudo apt-get install google-chrome-stable