commit: 64877cc9aca250710fd58f4b65226226d77619ce
parent: e8470008ec017295cacdba31578b85bb4c83aeb9
Author: feld <feld@feld.me>
Date: Fri, 8 Feb 2019 18:42:20 +0000
Merge branch 'master' into 'master'
add gitlab ci
See merge request pleroma/auto_linker!1
Diffstat:
1 file changed, 26 insertions(+), 0 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+image: elixir:1.7.2
+
+cache:
+ key: ${CI_COMMIT_REF_SLUG}
+ paths:
+ - deps
+ - _build
+stages:
+ - lint
+ - test
+
+before_script:
+ - mix local.hex --force
+ - mix local.rebar --force
+ - mix deps.get
+ - mix compile --force
+
+lint:
+ stage: lint
+ script:
+ - mix format --check-formatted
+
+unit-testing:
+ stage: test
+ script:
+ - mix test --trace