Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F115403
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
757 B
Referenced Files
None
Subscribers
None
View Options
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
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 28, 3:21 AM (1 d, 18 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40791
Default Alt Text
(757 B)
Attached To
Mode
R19 linkify
Attached
Detach File
Event Timeline
Log In to Comment