Skip to content

Commit

Permalink
webdriver-manager update could cause exceeding rate limit of Github…
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJu committed Mar 31, 2018
1 parent 1260487 commit 800ecd9
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions travis/scripts/05-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ launchCurlOrProtractor() {
if [[ -f "gulpfile.js" ]]; then
gulp itest --no-notification
elif [[ -f "tsconfig.json" ]]; then
wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
unzip chromedriver_linux64.zip
yarn e2e --chromeDriver=./chromedriver
# Actually, `yarn e2e` could cause problems due to Github Search API rate limit.
# As we don't use gecko, we could use workaround below.
# See also https://github.com/angular/webdriver-manager/issues/216
set -ex
webdriver-manager update --gecko false
find -name "chromedriver*" ! -name "*.zip" -exec yarn e2e --chromeDriver={} \;
set +ex
fi
result=$?
[ $result -eq 0 ] && break
Expand Down

0 comments on commit 800ecd9

Please sign in to comment.