Set Your Travis CI Environment Variable

SourceClear Software Composition Analysis

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

Procedure

  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 SourceClear API token.
  5. Verify Display value in build log is set to OFF.
    This step ensures your token is hidden.
  6. Click Add.