-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
085f326
commit cf85d03
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Configure SNYK_TOKEN environment variable in your TravisCI project settings | ||
|
||
language: java | ||
|
||
script: | ||
- npm install -g snyk | ||
- snyk monitor --reachable-vulns # Enable reachable vulns, scan and publish results to Snyk | ||
- snyk test --reachable-vulns # Enable reachable vulns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Configure SNYK_TOKEN environment variable in your TravisCI project settings | ||
|
||
language: node_js | ||
|
||
node_js: | ||
- node | ||
|
||
script: | ||
- npm install -g snyk | ||
- snyk monitor --all-projects # Autodetect all projects in working directory, scan and publish results to Snyk | ||
- snyk test --all-projects # Autodetect all projects in working directory |