summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-11-20 20:50:24 +0100
committermathieui <mathieui@mathieui.net>2017-11-20 20:53:03 +0100
commitbdd08b883fcd0aea1cbaf09c864809dcccec743e (patch)
treed07cd543aa52a14db2412770ea70f6d58ab9f7e5
parent6c00483ed89782db111d1cfa034986b6f32abe42 (diff)
downloadpoezio-bdd08b883fcd0aea1cbaf09c864809dcccec743e.tar.gz
poezio-bdd08b883fcd0aea1cbaf09c864809dcccec743e.tar.bz2
poezio-bdd08b883fcd0aea1cbaf09c864809dcccec743e.tar.xz
poezio-bdd08b883fcd0aea1cbaf09c864809dcccec743e.zip
Add a check for vulnerabilities in dependencies in gitlab-ci
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cfd7d6af..c0f15724 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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