diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-08-10 11:32:55 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-08-15 11:11:45 -0400 |
commit | fafe78f6aedfc0ac865379c412a87670b6211021 (patch) | |
tree | a0a9b63b6fc3db34075175f160481cba5409fbde /ci/lint/06_script.sh | |
parent | 8bd5e0af9983c6892d4076881d634cc524d643fd (diff) | |
download | bitcoin-fafe78f6aedfc0ac865379c412a87670b6211021.tar.xz |
ci: Rename .travis/ to ./ci/
Diffstat (limited to 'ci/lint/06_script.sh')
-rwxr-xr-x | ci/lint/06_script.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ci/lint/06_script.sh b/ci/lint/06_script.sh new file mode 100755 index 0000000000..c7dea599dc --- /dev/null +++ b/ci/lint/06_script.sh @@ -0,0 +1,25 @@ +#!/usr/bin/env bash +# +# Copyright (c) 2018 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 + +if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then + test/lint/commit-script-check.sh $TRAVIS_COMMIT_RANGE +fi + +test/lint/git-subtree-check.sh src/crypto/ctaes +test/lint/git-subtree-check.sh src/secp256k1 +test/lint/git-subtree-check.sh src/univalue +test/lint/git-subtree-check.sh src/leveldb +test/lint/check-doc.py +test/lint/check-rpc-mappings.py . +test/lint/lint-all.sh + +if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" ] && [ "$TRAVIS_EVENT_TYPE" = "cron" ]; then + git log --merges --before="2 days ago" -1 --format='%H' > ./contrib/verify-commits/trusted-sha512-root-commit + travis_retry gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $(<contrib/verify-commits/trusted-keys) && + ./contrib/verify-commits/verify-commits.py --clean-merge=2; +fi |