Set your Travis CI environment variable
Setting an environment variable in Travis CI occurs on a per-repository basis.
To complete this task:
-
In Travis CI, select the repository you want to scan.
-
Go to More Options > Settings.
-
For Name, enter
SRCCLR_API_TOKEN
. -
For Value, enter your Veracode SCA API token.
-
Verify Display value in build log is set to OFF.
This step ensures your token is hidden.
-
Select Add.