Closed sckott closed 10 years ago
@sckott yes - I think it's better to use envar DO_PAT
and only fall back to OAuth if that isn't available. Then you can rely on individuals having that set. (And you can set encrypted env var for travis etc)
Okay. Sorry about the poor state of the tests, I was assuming it was mostly just me using this, so I didn't put the time in on tests.
Could you please create a PAT, then add as an encrypted environment variable in travis? (Let me know if you need more instructions than that)
@hadley Okay, added a PAT to the settings for the repo in Travis, following http://docs.travis-ci.com/user/environment-variables/#Where-to-define-variables , done in the repository settings, instead of the .travis.yml
file
Any reason you did it in the repo settings rather than in .travis.yml
?
From that page, it seemed to make more sense to do it in the repo, but I'll do it in the travis file instead
Lets close this, and new tests as we discover bugs.
I'll update tests that have old code in them.
@hadley Do you think there is a better way to do auth for the tests?