It surprising that there is a failure but the build continues. I found the answer to this in https://docs.travis-ci.com/user/customizing-the-build/#Breaking-the-Build:
If script returns a non-zero exit code, the build is failed, but continues to run before being marked as failed.
|