Reputation: 130
I have a project here. This project I forked in my own private repository. They both have absolutely the same .travis.yml files (here and here).
The problem is that when Travis runs the build process from my private repository, it successfully exports the env variables. However, when it runs the build process from the other repository, these variables are not being exported and build fails.
Does someone have an idea why?
Thanks,
Upvotes: 2
Views: 587
Reputation: 2341
The environment variables are encrypted, and the key that's used is specific per repository. So environment variables encrypted with the key for liferoy/alloy-editor
won't be decryptable when used on the ipeychev/alloy-editor
project.
You'll need to re-encrypt them if you want them to have as part of your build. As these are used for Sauce Labs, you'll likely have to set up your own account and encrypt your own credentials.
Upvotes: 3