aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-05-30 09:19:58 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-05-30 09:29:44 -0400
commitfa2d83eb44fdb02177d6c01fd0621d364c5a1dfc (patch)
tree6137a2bfaad152a1dd9c999ea2c9557bc0a54b5e /.travis.yml
parentf8a29ca823fba7fc0eb63896ac4d3d5a0093a023 (diff)
travis: Skip cache for lint stage
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 0eb6012f20..7cbe0b83f1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -83,6 +83,7 @@ jobs:
include:
- stage: lint
sudo: false
+ cache: false
addons:
apt:
packages:
@@ -92,6 +93,7 @@ jobs:
- travis_retry pip3 install flake8 --user
before_script:
- git fetch --unshallow
+ script:
- 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
@@ -100,6 +102,7 @@ jobs:
- test/lint/check-doc.py
- test/lint/check-rpc-mappings.py .
- test/lint/lint-all.sh
- script:
- - if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys; fi
- - if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then travis_wait 30 contrib/verify-commits/verify-commits.sh; fi
+ - if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then
+ while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys &&
+ travis_wait 30 contrib/verify-commits/verify-commits.sh;
+ fi