diff options
author | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-24 04:38:08 -0400 |
---|---|---|
committer | Hubert Chathi <hubert@uhoreg.ca> | 2019-09-24 04:38:08 -0400 |
commit | 1e7f882c91f3fcf6b7bfb8a2167f96fbd960dc16 (patch) | |
tree | a6991098fb6d0dfd117fcb4fcbeb1410fa563612 /.gitlab-ci.yml | |
parent | mix format (diff) |
add CI
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 15 |
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 |