From 6dd627bfdf2fb62352c7da2dac7a4a84be65304c Mon Sep 17 00:00:00 2001 From: Egor Kislitsyn Date: Wed, 3 Apr 2019 14:57:36 +0700 Subject: [PATCH] add credo to CI --- .gitlab-ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 531c0e9..91c100b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,11 +3,13 @@ image: elixir:1.7.2 cache: key: ${CI_COMMIT_REF_SLUG} paths: - - deps - - _build + - deps + - _build + stages: - lint - test + - analysis before_script: - mix local.hex --force @@ -25,5 +27,8 @@ unit-testing: coverage: '/(\d+\.\d+\%) \| Total/' script: - mix test --trace --cover + +analysis: + stage: analysis script: - - mix test --trace + - mix credo --strict