Fix for travis not reporting errors.