Skip to content

Commit 80c8027

Browse files
authored
add snyk (segmentio#130)
1 parent 5cafcc9 commit 80c8027

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

.circleci/config.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ jobs:
7474
- attach_workspace: { at: . }
7575
- run: .buildscript/e2e.sh
7676

77+
snyk:
78+
<<: *java-base-test
79+
docker:
80+
- image: circleci/openjdk:8-jdk-browsers
81+
steps:
82+
- checkout
83+
- attach_workspace: { at: . }
84+
- run: curl -sL https://raw.githubusercontent.com/segmentio/snyk_helpers/master/initialization/snyk.sh | sh
85+
7786
workflows:
7887
version: 2
7988
multi-test:
@@ -88,12 +97,16 @@ workflows:
8897
- e2e:
8998
requires:
9099
- test
91-
coverage:
100+
static_analysis:
92101
jobs:
93102
- test
94103
- coverage:
95104
requires:
96105
- test
106+
- snyk:
107+
context: snyk
108+
requires:
109+
- test
97110
test_and_publish:
98111
jobs:
99112
- test:

0 commit comments

Comments
 (0)