Skip to content

Commit

Permalink
fix geckodriver download for Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Mar 3, 2019
1 parent 2a91fe5 commit 231d9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ if [[ ! -z $CHROME ]]; then
fi

if [[ ! -z $MARIONETTE ]]; then
GECKODRIVER_URL=`curl -Ls -o /dev/null -w %{url_effective} https://github.com/mozilla/geckodriver/releases/latest`
GECKODRIVER_VERSION=`echo $GECKODRIVER_URL | sed 's#.*/##'`
export GECKODRIVER_DOWNLOAD="https://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz"
curl -L -o geckodriver.tar.gz $GECKODRIVER_DOWNLOAD
gunzip -c geckodriver.tar.gz | tar xopf -
Expand Down

0 comments on commit 231d9e3

Please sign in to comment.