aboutsummaryrefslogtreecommitdiff
path: root/.travis/lint_06_script.sh
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-02 19:48:08 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-07-04 19:35:25 +0300
commit1ac454a3844b9b8389de0f660fa9455c0efa7140 (patch)
tree25912907998366914c0e0328eb53e214e35af13c /.travis/lint_06_script.sh
parent6c21a801f3df4942d09d5a33d3dab04807f7bb37 (diff)
downloadbitcoin-1ac454a3844b9b8389de0f660fa9455c0efa7140.tar.xz
Enable ShellCheck rules
Enabled ShellCheck rules: SC1087 SC2001 SC2004 SC2005 SC2006 SC2016 SC2028 SC2048 SC2066 (note that IFS already contains only a line feed) SC2116 SC2166 SC2181 SC2206 SC2207 SC2230 SC2236
Diffstat (limited to '.travis/lint_06_script.sh')
-rwxr-xr-x.travis/lint_06_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis/lint_06_script.sh b/.travis/lint_06_script.sh
index eeebc80ec0..c7dea599dc 100755
--- a/.travis/lint_06_script.sh
+++ b/.travis/lint_06_script.sh
@@ -18,7 +18,7 @@ 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
+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;