-image: elixir:1.7.2
+image: elixir:1.8.1
services:
- name: postgres:9.6.2
stages:
- lint
- test
+ - analysis
before_script:
- mix local.hex --force
stage: test
script:
- mix test --trace --preload-modules
+
+analysis:
+ stage: analysis
+ script:
+ - mix credo --strict --only=warnings,todo,fixme,consistency,readability