mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
ecade9bc39
08f3dbb1b0cd5ca01d87e488a2fa905adf7df057 test: Bump shellcheck version (Hennadii Stepanov) Pull request description: The changelog for v0.7.2 is available [here](https://github.com/koalaman/shellcheck/blob/v0.7.2/CHANGELOG.md). Only [SC2268](https://github.com/koalaman/shellcheck/wiki/SC2268) requires to update our code. ACKs for top commit: jarolrod: ACK 08f3dbb1b0cd5ca01d87e488a2fa905adf7df057 Tree-SHA512: 4585cd1f4d9def2fbaafe5a2a57761288d432781eb8c6c6d37064727d7ca8fc3f35c552e6a2ffdf0820d753d4bde2c8e43e5f3f57d242f5f57591a9b1b03558d
23 lines
1.0 KiB
Bash
Executable File
23 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2018-2020 The Bitcoin Core developers
|
|
# Distributed under the MIT software license, see the accompanying
|
|
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
export LC_ALL=C
|
|
|
|
${CI_RETRY_EXE} apt-get update
|
|
${CI_RETRY_EXE} apt-get install -y clang-format-9 python3-pip curl git gawk jq
|
|
update-alternatives --install /usr/bin/clang-format clang-format $(which clang-format-9 ) 100
|
|
update-alternatives --install /usr/bin/clang-format-diff clang-format-diff $(which clang-format-diff-9) 100
|
|
|
|
${CI_RETRY_EXE} pip3 install codespell==2.0.0
|
|
${CI_RETRY_EXE} pip3 install flake8==3.8.3
|
|
${CI_RETRY_EXE} pip3 install vulture==2.3
|
|
${CI_RETRY_EXE} pip3 install yq
|
|
${CI_RETRY_EXE} pip3 install mypy==0.781
|
|
|
|
SHELLCHECK_VERSION=v0.7.2
|
|
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}"
|