Revert --retry-on-http-error usage, Travis CI's wget doesn't recognize it

This commit is contained in:
Michael Vines 2019-05-27 19:33:20 -07:00
parent 65f89d6729
commit dd39b2b056
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 1 additions and 4 deletions

View File

@ -19,9 +19,6 @@ download() {
"--retry-connrefused"
"--read-timeout=30"
)
# Github release URLs 302 to AWS S3. Sometimes that S3 URL returns 403
args+=("--retry-on-http-error=403")
wget "${args[@]}"
}
@ -36,7 +33,7 @@ if [[ ! -r criterion-$machine-$version.md ]]; then
mkdir criterion
cd criterion
base=https://github.com/Snaipe/Criterion/releases/
base=https://github.com/Snaipe/Criterion/releases
download $base/download/$version/$filename $filename mega
tar --strip-components 1 -jxf $filename
rm -rf $filename