git / moonbite-core / ci/lint/06_script.sh · raw
#!/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=Cif [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then # TRAVIS_BRANCH will be present in a Travis environment. For builds triggered # by a pull request this is the name of the branch targeted by the pull request. # https://docs.travis-ci.com/user/environment-variables/ COMMIT_RANGE="$TRAVIS_BRANCH..HEAD" test/lint/commit-script-check.sh $COMMIT_RANGEfitest/lint/git-subtree-check.sh src/crypto/ctaestest/lint/git-subtree-check.sh src/secp256k1-zkptest/lint/git-subtree-check.sh src/univaluetest/lint/git-subtree-check.sh src/leveldbtest/lint/git-subtree-check.sh src/crc32ctest/lint/check-doc.pytest/lint/check-rpc-mappings.py .test/lint/lint-all.shif [ "$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