Skip to content
Permalink
Browse files

Install latest Chromedriver and Chrome so that they are continuously …

…compatible.
  • Loading branch information...
finnmartens authored and j0weiss committed Sep 11, 2019
1 parent dfef5fc commit 92c014621cfa86160aa4ac2cd2ede6e793d3e5e2
Showing with 8 additions and 6 deletions.
  1. +8 −6 .travis.yml
@@ -23,13 +23,13 @@ notifications:
on_success: never
on_failure: always

# get google-chrome-stable
addons:
chrome: stable

# Install ChromeDriver
# Install ChromeDriver and Chrome (latest)
install:
- wget -N https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip -P ~/
- sudo apt-get install -y dpkg
- wget -N https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -P ~/
- sudo dpkg -i ~/google-chrome*.deb
- rm ~/google-chrome*.deb
- curl https://chromedriver.storage.googleapis.com/LATEST_RELEASE | xargs -I % wget -N https://chromedriver.storage.googleapis.com/%/chromedriver_linux64.zip -P ~/
- unzip ~/chromedriver_linux64.zip -d ~/
- rm ~/chromedriver_linux64.zip
- sudo mv -f ~/chromedriver /usr/local/share/
@@ -48,7 +48,9 @@ jobs:
- name: "gebTests"
script:
- whereis google-chrome-stable
- google-chrome-stable --version
- whereis chromedriver
- chromedriver --version
- ./gradlew integrationTest --tests "geb.**.*" --stacktrace
- name: "jasmineTests"
script:

0 comments on commit 92c0146

Please sign in to comment.
You can’t perform that action at this time.