Multiarch builds (lxd) always time out on failure instead of exit

Here is a list of other threads that discuss the same or closely related issues:

See also https://github.com/travis-ci/travis-build/pull/1816

I’ve been able to workaround the issue by adding || travis_terminate $? to each script line in out .travis.yml