2021-12-19 09:33:39 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2019-12-31 18:35:41 +01:00
|
|
|
# Copyright (c) 2018-2019 The Bitcoin Core developers
|
2021-12-19 09:33:39 +01:00
|
|
|
# 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
|
2019-04-09 17:17:25 +02:00
|
|
|
travis_retry gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys $(<contrib/verify-commits/trusted-keys) &&
|
2021-12-19 09:33:39 +01:00
|
|
|
./contrib/verify-commits/verify-commits.py --clean-merge=2;
|
|
|
|
fi
|