[bitcoin/bitcoin] [WIP] New Travis job for CHECK_DOCS steps (#13183)

MarcoFalke commented on this pull request.

> @@ -84,3 +75,27 @@ script:
after_script:
– echo $TRAVIS_COMMIT_RANGE
– echo $TRAVIS_COMMIT_LOG
+
+jobs:
+ include:
+ – stage: check_doc
+ sudo: required

You can get rid of sudo here to speed up the boot-process:

“`diff
diff –git a/.travis.yml b/.travis.yml
index f3f5305e4a..f547b3dc42 100644
— a/.travis.yml
+++ b/.travis.yml
@@ -79,12 +79,13 @@ after_script:
jobs:
include:
– stage: check_doc
– sudo: required
– env:
– – PACKAGES=”python3-pip shellcheck”
+ sudo: false
+ addons:
+ apt:
+ packages:
+ – python3-pip
+ – shellcheck
install:
– – if [ -n “$PACKAGES” ]; then travis_retry sudo apt-get update; fi
– – if [ -n “$PACKAGES” ]; then travis_retry sudo apt-get install –no-install-recommends –no-upgrade -qq $PACKAGES; fi
– if [ “$TRAVIS_EVENT_TYPE” = “pull_request” ]; then travis_retry pip3 install flake8 –user; fi
before_script:
– git fetch –unshallow

This post was last modified on May 7, 2018, 6:31 pm