summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorHubert Chathi <hubert@uhoreg.ca>2019-09-24 04:38:08 -0400
committerHubert Chathi <hubert@uhoreg.ca>2019-09-24 04:38:08 -0400
commit1e7f882c91f3fcf6b7bfb8a2167f96fbd960dc16 (patch)
treea6991098fb6d0dfd117fcb4fcbeb1410fa563612 /.gitlab-ci.yml
parentmix format (diff)
add CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..051ef24
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,15 @@
+image: elixir:latest
+
+before_script:
+ - mix local.rebar --force
+ - mix local.hex --force
+ - mix deps.get
+
+test:
+ script:
+ - MIX_ENV=test mix compile
+ - mix test
+
+format:
+ script:
+ - mix format --check-formatted