Travis CI 不导出环境变量
Travis CI does not export env valriables
我有一个项目here. This project I forked in my own private repository。
他们都有完全相同的 .travis.yml 文件 (here and here).
问题是当 Travis 从我的 private repository, it successfully exports the env variables. However, when it runs the build process from the other repository 运行构建过程时,这些变量没有被导出并且构建失败。
有人知道为什么吗?
谢谢,
环境变量已加密,使用的密钥因存储库而异。因此,使用 liferoy/alloy-editor
的密钥加密的环境变量在 ipeychev/alloy-editor
项目上使用时将无法解密。
如果您希望它们作为构建的一部分,您需要重新加密它们。由于这些用于 Sauce Labs,您可能必须设置自己的帐户并加密您自己的凭据。
我有一个项目here. This project I forked in my own private repository。 他们都有完全相同的 .travis.yml 文件 (here and here).
问题是当 Travis 从我的 private repository, it successfully exports the env variables. However, when it runs the build process from the other repository 运行构建过程时,这些变量没有被导出并且构建失败。
有人知道为什么吗?
谢谢,
环境变量已加密,使用的密钥因存储库而异。因此,使用 liferoy/alloy-editor
的密钥加密的环境变量在 ipeychev/alloy-editor
项目上使用时将无法解密。
如果您希望它们作为构建的一部分,您需要重新加密它们。由于这些用于 Sauce Labs,您可能必须设置自己的帐户并加密您自己的凭据。