Travis CI Integration¶
Quick Start¶
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:
- npm install -g @escape.tech/action
- npm show @escape.tech/action version
- escape-action
env:
- ESCAPE_APPLICATION_ID=$ESCAPE_APPLICATION_ID
- ESCAPE_API_KEY=$ESCAPE_API_KEY
stages:
- deploy
- security
Configuration Options¶
Environment Variables¶
ESCAPE_APPLICATION_ID
: Your Escape application identifierESCAPE_API_KEY
: Your Escape API key
Pipeline Settings¶
stage
: Define execution orderif
: Control stage execution conditionsenv
: Set environment variables
Failure behavior¶
The Escape CLI will: - Exit with code 1 if high-severity issues are found - Can be configured to fail on different severity levels
Available variables and options¶
See CLI documentation for complete configuration options.