commit: a4f9d856af585e7bdb463ce00334354b4a36be04
parent 03e0fb26b2ead2491f2f13002728c54b6ff58bd6
Author: Egor <egor@kislitsyn.com>
Date: Tue, 9 Apr 2019 11:55:48 +0000
Revert "Update .gitlab-ci.yml"
This reverts commit 6eb3d5855d9c3d400e19e9d7314e8b2b5cc8c2e0
Diffstat:
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -1,29 +1,24 @@
image: elixir:1.7.2
-variables:
- MIX_ENV: test
-
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- deps
- _build
+
stages:
- - build
+ - lint
- test
+ - analysis
before_script:
- mix local.hex --force
- mix local.rebar --force
-
-build:
- stage: build
- script:
- mix deps.get
- mix compile --force
lint:
- stage: test
+ stage: lint
script:
- mix format --check-formatted
@@ -34,6 +29,6 @@ unit-testing:
- mix test --trace --cover
analysis:
- stage: test
+ stage: analysis
script:
- mix credo --strict