Page MenuHomePhorge

No OneTemporary

Size
737 B
Referenced Files
None
Subscribers
None
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a0872e8
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,36 @@
+image: elixir:1.7
+
+variables:
+ MIX_ENV: test
+
+cache:
+ key: ${CI_COMMIT_REF_SLUG}
+ paths:
+ - deps
+ - _build
+
+stages:
+ - test
+ - publish
+
+before_script:
+ - mix local.hex --force
+ - mix local.rebar --force
+ - mix deps.get
+ - mix compile --force
+
+lint:
+ stage: test
+ script:
+ - mix format --check-formatted
+
+unit-testing:
+ stage: test
+ coverage: '/(\d+\.\d+\%) \| Total/'
+ script:
+ - mix test --trace --preload-modules --cover
+
+analysis:
+ stage: test
+ script:
+ - mix credo --strict --only=warnings,todo,fixme,consistency,readability

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jan 22, 4:11 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
55789
Default Alt Text
(737 B)

Event Timeline