Skip to content

Commit

Permalink
More sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Sep 16, 2019
1 parent 5573706 commit 5f43305
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/travis/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ set -ex

if [[ ! -z $CHROME ]]; then
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
sudo echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update -qqy
sudo apt-get -qqy install google-chrome-stable
rm /etc/apt/sources.list.d/google-chrome.list
sudo rm /etc/apt/sources.list.d/google-chrome.list
export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
Expand Down

0 comments on commit 5f43305

Please sign in to comment.