try to report errors correctly to travis