aboutsummaryrefslogtreecommitdiff
path: root/.travis/lint_06_script.sh
diff options
context:
space:
mode:
authorJulian Fleischer <tirednesscankill@warhog.net>2018-08-03 17:27:08 +0200
committerJulian Fleischer <tirednesscankill@warhog.net>2018-08-27 12:23:25 +0200
commit272306ea57116c0c9afc0f73161929be978fe9a8 (patch)
treeb3d09178f138ea439f84c0946f3bfb7a1d6e9015 /.travis/lint_06_script.sh
parent519e2739cf6fac98ec24888b36b011f1c6b98bbc (diff)
number .travis/ script according to build lifecycle and add README to explain
Diffstat (limited to '.travis/lint_06_script.sh')
-rwxr-xr-x.travis/lint_06_script.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis/lint_06_script.sh b/.travis/lint_06_script.sh
new file mode 100755
index 0000000000..067ad6c32a
--- /dev/null
+++ b/.travis/lint_06_script.sh
@@ -0,0 +1,26 @@
+#!/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.
+#
+# Check for new lines in diff that introduce trailing whitespace.
+
+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" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then
+ while read -r LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys &&
+ travis_wait 50 contrib/verify-commits/verify-commits.py;
+fi