You can actually do `travis_terminate 2` here instead, that way you don't get the beautiful message "The command \"hslghslhg\" exited with result…". The 2 marks it as errored instead of failed.