mobilizon/.gitlab-ci.yml
Thomas Citharel 960ef0c276 add cache, credo and postgis to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:49:37 +01:00

25 lines
300 B
YAML

image: elixir:latest
services:
- mdillon/postgis:9.6-alpine
variables:
MIX_ENV: "test"
cache:
key: "$CI_JOB_NAME"
paths:
- deps
- _build
- .rebar3
before_script:
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
mix:
script:
- mix credo
- mix test