Added commented-out `after_failure` commands to `.travis.yml` to debug `SIGILL` issues.

This commit is contained in:
Marc Brinkmann 2018-08-10 14:32:33 +02:00 committed by Andreas Fackler
parent d93ea7b561
commit d459683288
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,12 @@ before_install:
- rustup component add --toolchain=${RUST_NEXT} rustfmt-preview clippy-preview
# Some symlinking is still necessary for clippy to function properly.
- ln -sf ${HOME}/.rustup/toolchains/${RUST_NEXT}-x86_64-unknown-linux-gnu/bin/clippy-driver ${HOME}/.rustup/toolchains/${RUST_NEXT}-x86_64-unknown-linux-gnu/bin/cargo-clippy $HOME/.cargo/bin/
# after_failure:
# # Outputs the syslog after a failed build, e.g. to debug `SIGILL` occurrences.
# # Unfortunately this is likely to disable container-based travis images,
# # causing a CI slowdown, so this option is commented out by default. It can
# # be enabled per-branch to debug issues.
# - sudo tail -n 250 /var/log/syslog
env:
global:
- RUST_BACKTRACE=1