mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 20:42:59 +01:00
27b5d68562
fa2056af1c travis: Properly cache and error on timeout (MarcoFalke) fa36a333ee travis: Switch to ubuntu keyserver to avoid timeouts (MarcoFalke) Pull request description: The other keyserver is consistently timing out on travis: https://travis-ci.org/bitcoin/bitcoin/jobs/512689710#L405 Attempt to fix it by using a different server. Also: * fixes #15372 * fixes #15738 ACKs for commit fa2056: ryanofsky: utACK fa2056af1c71aded3a821a07ec4de71c4be0bca3. All good changes (changing keyserver, getting rid of keyserver while loop, clarifying travis error, moving travis documentation to code comment). Tree-SHA512: ac8436616ecfee0ed579114e19f03c53ceb688fbcd95a60cffe8f15b4e569772a6ba673f353bbd789e79fe27fc5626c77fab4086768844dd51e0c6c108b52fb2
26 lines
986 B
Bash
Executable File
26 lines
986 B
Bash
Executable File
#!/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
|