mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
update to latest chromedriver with permissions fix, and install latest chrome
This commit is contained in:
parent
d1ec92ff16
commit
f4af487a3f
1 changed files with 5 additions and 2 deletions
|
@ -21,8 +21,11 @@ matrix:
|
||||||
- gemfile: gemfiles/Gemfile.base-versions
|
- gemfile: gemfiles/Gemfile.base-versions
|
||||||
rvm: jruby-19mode
|
rvm: jruby-19mode
|
||||||
before_install:
|
before_install:
|
||||||
- URL='https://chromedriver.googlecode.com/files/chromedriver_linux32_26.0.1383.0.zip'; FILE=`mktemp`; wget "$URL" -qO $FILE && sudo unzip $FILE chromedriver -d /usr/local/bin; rm $FILE
|
- URL='http://chromedriver.storage.googleapis.com/2.6/chromedriver_linux64.zip'; FILE=`mktemp`; wget "$URL" -qO $FILE && sudo unzip $FILE chromedriver -d /usr/local/bin; rm $FILE; sudo chmod 777 /usr/local/bin/chromedriver
|
||||||
- URL='https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb'; FILE=`mktemp`; wget "$URL" -qO $FILE && sudo dpkg -i $FILE; rm $FILE
|
- wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
||||||
|
- sudo sh -c 'echo "deb 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
|
||||||
before_script:
|
before_script:
|
||||||
- sh -e /etc/init.d/xvfb start
|
- sh -e /etc/init.d/xvfb start
|
||||||
- export DISPLAY=:99.0
|
- export DISPLAY=:99.0
|
||||||
|
|
Loading…
Reference in a new issue