Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85951529
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
726 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..7f87bf7
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,33 @@
+image: elixir:1.10-alpine
+
+variables:
+ MIX_ENV: test
+ GIT_SUBMODULE_STRATEGY: recursive
+
+cache:
+ key: ${CI_COMMIT_REF_SLUG}
+ paths:
+ - deps
+ - _build
+
+stages:
+ - test
+ - publish
+
+before_script:
+ - apk add build-base cmake libmagic file-dev
+ - mix local.hex --force
+ - mix local.rebar --force
+ - mix deps.get --only test
+ - 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
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Thu, Nov 19, 3:28 PM (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1841197
Default Alt Text
(726 B)
Attached To
Mode
R20 majic
Attached
Detach File
Event Timeline