logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 18c3ca784427ad5e5f015c76c157697671d00fd4
parent: 193be32f45df3194c5cfa99f98cfc6900282d368
Author: lain <lain@soykaf.club>
Date:   Fri, 20 Apr 2018 13:09:41 +0200

Add format checking to CI.

Diffstat:

M.gitlab-ci.yml6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml @@ -9,6 +9,7 @@ variables: POSTGRES_PASSWORD: postgres stages: + - lint - test before_script: @@ -18,6 +19,11 @@ before_script: - MIX_ENV=test mix ecto.create - MIX_ENV=test mix ecto.migrate +lint: + stage: lint + script: + - MIX_ENV=test mix format --check-formatted + unit-testing: stage: test script: