Fix travis-ci build status and simplify YASnippet version requirements.