From df4298f84133d9af4c56d328a5e083fd3597477c Mon Sep 17 00:00:00 2001
From: "alexander.kravchenko" <alexander.kravchenko@demlabs.net>
Date: Fri, 27 Nov 2020 17:12:59 +0500
Subject: [PATCH] Added analysis stage to the yaml file

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c91d8b9..3961080 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,11 +1,22 @@
 stages:
     - prepare
+    - analyze
     - build
     - test
 
 variables:
     GIT_SUBMODULE_STRATEGY: normal
 
+dapcash-node-analyze:
+    stage: analyze
+    tags:
+    - dapcash-node
+    script: ~/production/integration/PVS-studio/analyze.sh
+    artifacts:
+      paths:
+      - report/issues.txt
+    when: always
+
 dapcash-node-schedule:
     stage: build
     tags:
-- 
GitLab