dash/.travis
MarcoFalke 96426b5057
Merge #15255: [tests] Remove travis_wait from lint script
8b8d8eeae9 Remove travis_wait from lint script (Graham Krizek)

Pull request description:

  Using the `travis_wait` command in conjunction with `set -o errexit` causes problems. The `travis_wait` command will correctly log the command's output if successful, but if the command fails the process exits before the `travis_wait` command can dump the logs. This will hide important debugging information like error messages and stack traces. We ran into this in #15196 and it was very hard to debug because output was being suppressed.

  `travis_wait` was being used because the `contrib/verify-commits/verify-commits.py` script can sometimes run for a long time without producing any output. If a script runs for 10 minutes without logging anything, the CI run times out. The `travis_wait` command will extend this timeout by logging a message for you, while sending stderr and stdout to a file.

  This PR removes the `travis_wait` command from our CI system and adds additional logging to the `verify-commits.py` script so it doesn't make Travis timeout.

ACKs for commit 8b8d8e:
  MarcoFalke:
    utACK 8b8d8eeae9e8feff6d78420ee172c820ccef9db1

Tree-SHA512: 175a8dd3f4d4e03ab272ddba94fa8bb06875c9027c3f3f81577feda4bc8918b5f0e003a19027f04f8cf2d0b56c68633716a6ab23f95b910121a8d1132428767d
2021-09-10 20:55:59 -04:00
..
lint_04_install.sh merge #17361: Lint Gitian descriptors with ShellCheck 2021-09-03 21:35:53 +05:30
lint_05_before_script.sh Partial merge #13863: travis: move script sections to files in .travis/ subject to shellcheck 2021-07-08 13:09:43 -04:00
lint_06_script.sh Merge #15255: [tests] Remove travis_wait from lint script 2021-09-10 20:55:59 -04:00
README.md Partial merge #13863: travis: move script sections to files in .travis/ subject to shellcheck 2021-07-08 13:09:43 -04:00
test_03_before_install.sh Merge #14673: travis: Fail the UBSan Travis build in case of newly introduced UBSan errors 2021-08-18 13:56:42 -05:00
test_04_install.sh Merge #15939: gitian: Remove Windows 32 bit build 2021-09-02 22:27:58 +03:00
test_05_before_script.sh merge #19240: macOS toolchain simplification and bump 2021-09-03 17:49:55 +05:30

travis build scripts

The .travis directory contains scripts for each build step in each build stage. Currently the travis build defines two stages lint and test. Each stage has it's own lifecycle. Every script in here is named and numbered according to which stage and lifecycle step it belongs to.