Skip to content

Travis CI Integration

Add the following configuration to your .travis.yml:

language: node_js
node_js:
  - node

jobs:
  include:
    - stage: deploy
      script:
        # Your deployment steps here

    - stage: security
      if: branch = staging
      script:
        - curl -sf https://raw.githubusercontent.com/Escape-Technologies/cli/refs/heads/main/scripts/install.sh | sh
        - escape-cli version
        - escape-cli scan start ${ESCAPE_APPLICATION_ID} --watch
      env:
        - ESCAPE_APPLICATION_ID=$ESCAPE_APPLICATION_ID
        - ESCAPE_API_KEY=$ESCAPE_API_KEY

stages:
  - deploy
  - security