Add a check for vulnerabilities in dependencies in gitlab-ci

This commit is contained in:
mathieui 2017-11-20 20:50:24 +01:00
parent 6c00483ed8
commit bdd08b883f
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -2,6 +2,7 @@ stages:
- build
- test
build-ubuntu:
stage: build
image: poezio/build-base:latest
@ -13,6 +14,13 @@ build-ubuntu:
paths:
- dist/
security-check:
stage: test
image: python:3
script:
- pip3 install safety
- safety check -r requirements.txt
test-ubuntu:
stage: test
image: poezio/test-base:latest