Correct error and update travis.yml to warn