Skip to content

Travis CI: folded output/default tracebacks

postmarketOS Bot requested to merge feature/travis-output-folding into master

Created by: ollieparanoid

Example output

Changes

  • Moved the script and after_failure sections of .travis.yml to extra files in a new .travis/ folder
  • Copy paste .travis/common.sh from Alpine's aports. They have neat formatting functions in there for folding
  • Add a folding block around each script that gets called
  • Use native tracebacks in pytest. These are the same as we see when pmbootstrap crashes usually, instead of printing out the entire function that causes an error. I think this makes the error output easier to read.

EDIT: Closes #1255 (closed).

Merge request reports