Page MenuHomePhorge

No OneTemporary

Size
757 B
Referenced Files
None
Subscribers
None
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 91c100b..6253ad3 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,34 +1,39 @@
image: elixir:1.7.2
+variables:
+ MIX_ENV: test
+
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- deps
- _build
-
stages:
- - lint
+ - build
- test
- - analysis
before_script:
- mix local.hex --force
- mix local.rebar --force
+
+build:
+ stage: build
+ script:
- mix deps.get
- mix compile --force
lint:
- stage: lint
+ stage: test
script:
- mix format --check-formatted
unit-testing:
stage: test
coverage: '/(\d+\.\d+\%) \| Total/'
script:
- mix test --trace --cover
analysis:
- stage: analysis
+ stage: test
script:
- mix credo --strict

File Metadata

Mime Type
text/x-diff
Expires
Thu, Nov 28, 1:47 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40791
Default Alt Text
(757 B)

Event Timeline