fix the configuration that don't report the error by script in travis-ci