Use Travis variable for Codacy token in Travis automation script
- This PR replaces the old public Codacy token with a Travis hidden variable including the new token value.
- The token is defined as an environment variable in Travis, #defining-variables-in-repository-settings.
- To see the results in Codacy, use this link: Codacy/urlchecker-python
I am still not done, I am actually testing here, because I am not sure about the correct syntax. I will let you know once I get it to work so you can take a look at it.
Codecov Report
:exclamation: No coverage uploaded for pull request base (
master@08fc1bb). Click here to learn what that means. The diff coverage isn/a.
@@ Coverage Diff @@
## master #53 +/- ##
=========================================
Coverage ? 76.76%
=========================================
Files ? 12
Lines ? 383
Branches ? 0
=========================================
Hits ? 294
Misses ? 89
Partials ? 0
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 08fc1bb...ec529ef. Read the comment docs.
@vsoch so far I tried different approaches and none worked? any idea what am I doing wrong here? do you think it is the syntax or something else?
For GitHub actions?
Oh for travis. You should be able to define it in Travis settings (secrets as they show) and then reference it as an environment variable.
I'd probably encrypt it https://docs.travis-ci.com/user/environment-variables/#defining-encrypted-variables-in-travisyml