Revert "Update .gitlab-ci.yml"

This reverts commit 6eb3d5855d
This commit is contained in:
Egor 2019-04-09 11:55:48 +00:00
parent 03e0fb26b2
commit a4f9d856af

View file

@ -1,29 +1,24 @@
image: elixir:1.7.2 image: elixir:1.7.2
variables:
MIX_ENV: test
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- deps - deps
- _build - _build
stages: stages:
- build - lint
- test - test
- analysis
before_script: before_script:
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
build:
stage: build
script:
- mix deps.get - mix deps.get
- mix compile --force - mix compile --force
lint: lint:
stage: test stage: lint
script: script:
- mix format --check-formatted - mix format --check-formatted
@ -34,6 +29,6 @@ unit-testing:
- mix test --trace --cover - mix test --trace --cover
analysis: analysis:
stage: test stage: analysis
script: script:
- mix credo --strict - mix credo --strict