Skip to content

Commit

Permalink
Fix: Travis chromedriver version + min HumHub version
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh4 committed Nov 4, 2020
1 parent 06ac51e commit 08e3bfe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
- HUMHUB_PATH=/opt/humhub
matrix:
- HUMHUB_VERSION=master
- HUMHUB_VERSION=v1.7.0.beta.1
- HUMHUB_VERSION=v1.7.0
- HUMHUB_VERSION=develop

matrix:
Expand Down
7 changes: 5 additions & 2 deletions .travis/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
set -ev

# Install chomedriver
curl -s -L -o chromedriver_linux64.zip https://chromedriver.storage.googleapis.com/84.0.4147.30/chromedriver_linux64.zip \
CHROME_MAIN_VERSION=`google-chrome-stable --version | sed -E 's/(^Google Chrome |\.[0-9]+ )//g'`
CHROMEDRIVER_VERSION=`curl -s "https://chromedriver.storage.googleapis.com/LATEST_RELEASE_$CHROME_MAIN_VERSION"`

curl "https://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip" -O \
&& unzip -o -d $HOME chromedriver_linux64.zip \
&& chmod +x $HOME/chromedriver
&& chmod +x $HOME/chromedriver

0 comments on commit 08e3bfe

Please sign in to comment.