lint: fix shellcheck URL in CI install

This is causing the tests to fail for backports etc.

Github-Pull: #19612
Rebased-From: 7ee4769cd4
This commit is contained in:
fanquake
2020-07-28 20:01:22 +08:00
parent f8f7d91b80
commit d70f700021

View File

@@ -10,5 +10,5 @@ travis_retry pip3 install codespell==1.15.0
travis_retry pip3 install flake8==3.7.8
SHELLCHECK_VERSION=v0.6.0
curl -s "https://storage.googleapis.com/shellcheck/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
curl -sL "https://github.com/koalaman/shellcheck/releases/download/${SHELLCHECK_VERSION}/shellcheck-${SHELLCHECK_VERSION}.linux.x86_64.tar.xz" | tar --xz -xf - --directory /tmp/
export PATH="/tmp/shellcheck-${SHELLCHECK_VERSION}:${PATH}"