fix error_reporting for travis