Setting an environment variable in Travis CI occurs on a per-repository
basis.
-
In Travis CI, select the repository you want to scan.
-
Go to .
-
In the Name field, enter SRCCLR_API_TOKEN.
-
In the Value field, enter your SourceClear API token.
-
Verify Display value in build log is set to
OFF.
This step ensures your token is hidden.
-
Click Add.