mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
53ca879837
faeb40bee3bca9477785659d89af53cafa2333b5 ci: Install missing lint packages (MarcoFalke) Pull request description: The cirrus container is vanilla ubuntu, so we need to install the needed packages ACKs for top commit: hebasto: ACK faeb40bee3bca9477785659d89af53cafa2333b5, I have reviewed the code and it looks OK, I agree it can be merged. Tree-SHA512: e56198108e26ea0ba2a344b1b74bc294652f34e9866cca053a25fb1b83bbd87ea40254c340e5e169fdfcbd4dcb39fdc2078b5157ca729a22a9a1792ec514a33e
23 lines
1.0 KiB
Bash
Executable File
23 lines
1.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Copyright (c) 2018-2019 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==1.17.1
|
|
${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.1
|
|
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}"
|