Travis CI is a hosted continuous integration service used to build and test software
projects hosted at GitHub. Integrate Travis and beagle to automate Test triggering
Steps
Installation of Beagle Security Plugin in Travis
STEP 1
Add generic to the language section of your .travis.yml file
language: generic
language: generic
STEP 2
Add the snippet to script section of your .travis.yml file
script: curl --silent -L https://git.io/fjXpA | bash -s
script: curl --silent -L https://git.io/fjXpA | bash -s
In-order to trigger beagle penetration testing you need to create two encrypted
variables in
Travis environment
STEP 3
- Login to Travis Dashboard
- Select your repo
- Go to repo settings
- Navigate to Environment Variables
- Add tokens, make sure you use environment variable names as follows:
- For access token -> ACCESS_TOKEN
- For application token -> APPLICATION_TOKEN
- Also make sure that "Display value in build log" is off
- Build the project!
Walkthrough