Fixed exit code travis-ci/appveyor.