Commit 6dd627bf authored by minibikini's avatar minibikini

add credo to CI

parent df6f5dca
...@@ -3,11 +3,13 @@ image: elixir:1.7.2 ...@@ -3,11 +3,13 @@ image: elixir:1.7.2
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- deps - deps
- _build - _build
stages: stages:
- lint - lint
- test - test
- analysis
before_script: before_script:
- mix local.hex --force - mix local.hex --force
...@@ -25,5 +27,8 @@ unit-testing: ...@@ -25,5 +27,8 @@ unit-testing:
coverage: '/(\d+\.\d+\%) \| Total/' coverage: '/(\d+\.\d+\%) \| Total/'
script: script:
- mix test --trace --cover - mix test --trace --cover
analysis:
stage: analysis
script: script:
- mix test --trace - mix credo --strict
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment