susannemoog / sauceExtension

Codeception Extension to support automated testing via sauce labs
MIT License
8 stars 7 forks source link

Hide access info for Travis #5

Closed rtsio closed 9 years ago

rtsio commented 10 years ago

Trying to use this package with Travis CI, but hitting a problem; I can't use a private local .yml file for the credentials, as they need to be in the repo for Travis to use them and start up the extension. Travis/Sauce solve this by closely integrating and encrypting the Sauce credentials for Travis to use, but this is all for naught if I want to use Codeception and this Extension, because I will have to push a file with credentials to the repo anyway. Thoughts?

rtsio commented 10 years ago

And just to clarify, I can't use a secret local file to store the credentials. This will allow me to launch Sauce/Sauce Connect from a local machine, but the VM that Travis launches will not have access to the credentials this way.

rtsio commented 10 years ago

If you could add an option for getting the username/accesskey from environment variables, Travis already sets these up for Sauce.

susannemoog commented 9 years ago

Merged the pull request, sorry it took so long.