run backend linting in gitlab CI

This commit is contained in:
Tao Bror Bojlén 2019-08-21 14:22:48 +02:00
parent 3d0a30a279
commit 66664d03a4
No known key found for this signature in database
GPG Key ID: C6EC7AAB905F9E6F
1 changed files with 2 additions and 4 deletions

View File

@ -22,15 +22,12 @@ test-frontend:
changes:
- frontend/*
backend-sobelow:
test-backend:
stage: test
image: elixir:1.9
only:
changes:
- backend/*
except:
- develop
- master
before_script:
- cd backend
script:
@ -38,6 +35,7 @@ backend-sobelow:
- mix local.rebar --force
- mix deps.get
- mix deps.compile
- mix credo --strict
- mix sobelow --config
cache:
paths: