Travis CI 是否导出包含 GitHub 用户名的环境变量?

Does Travis CI export an environment variable containing the GitHub user name?

我想在我的 .travis.yml 文件中获取 Git 中心用户/组织名称。也就是说,如果我的包含 .travis.yml 的存储库位于 https://github.com/sschuberth/karn, I'd like to get sschuberth at build time. From looking at the docs,则似乎还没有这样的变量,或者我是否遗漏了什么?

我知道我可以从 Git 的遥控器 URL 中提取该信息,但我想要更干净的东西。

docs you linked above 中,有 TRAVIS_REPO_SLUG 将是您的 github username/repo,例如sschuberth/karn,应该很容易从中找出用户名。