travis: Skip cache for lint stage
This commit is contained in:
parent
f8a29ca823
commit
fa2d83eb44
1 changed files with 6 additions and 3 deletions
|
@ -83,6 +83,7 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- stage: lint
|
- stage: lint
|
||||||
sudo: false
|
sudo: false
|
||||||
|
cache: false
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
@ -92,6 +93,7 @@ jobs:
|
||||||
- travis_retry pip3 install flake8 --user
|
- travis_retry pip3 install flake8 --user
|
||||||
before_script:
|
before_script:
|
||||||
- git fetch --unshallow
|
- git fetch --unshallow
|
||||||
|
script:
|
||||||
- if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then test/lint/commit-script-check.sh $TRAVIS_COMMIT_RANGE; fi
|
- 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/crypto/ctaes
|
||||||
- test/lint/git-subtree-check.sh src/secp256k1
|
- test/lint/git-subtree-check.sh src/secp256k1
|
||||||
|
@ -100,6 +102,7 @@ jobs:
|
||||||
- test/lint/check-doc.py
|
- test/lint/check-doc.py
|
||||||
- test/lint/check-rpc-mappings.py .
|
- test/lint/check-rpc-mappings.py .
|
||||||
- test/lint/lint-all.sh
|
- test/lint/lint-all.sh
|
||||||
script:
|
- if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then
|
||||||
- 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
|
while read LINE; do travis_retry gpg --keyserver hkp://subset.pool.sks-keyservers.net --recv-keys $LINE; done < contrib/verify-commits/trusted-keys &&
|
||||||
- if [ "$TRAVIS_REPO_SLUG" = "bitcoin/bitcoin" -a "$TRAVIS_EVENT_TYPE" = "cron" ]; then travis_wait 30 contrib/verify-commits/verify-commits.sh; fi
|
travis_wait 30 contrib/verify-commits/verify-commits.sh;
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue