Skip to main content

Set your Travis CI environment variable

Setting an environment variable in Travis CI occurs on a per-repository basis.

To complete this task:

  1. In Travis CI, select the repository you want to scan.

  2. Go to More Options > Settings.

  3. In the Name field, enter SRCCLR_API_TOKEN.

  4. In the Value field, enter your Veracode SCA API token.

  5. Verify Display value in build log is set to OFF.

    This step ensures your token is hidden.

  6. Click Add.