X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.gitlab-ci.yml;h=8ea652086da7e3b594b411c1650cc9d3abc5650e;hb=3879500c87829a5cf1377ca7ccdb7bf92c75367f;hp=2fbc87a61c66c3e419f603899ed0cdc7f8ad4a1a;hpb=44a7789732ec1d5de518dfa8cbe1a44d29c5aa2b;p=akkoma diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2fbc87a61..8ea652086 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: elixir:1.6.4-alpine +image: elixir:1.7.2 services: - postgres:9.6.2 @@ -7,14 +7,17 @@ variables: POSTGRES_DB: pleroma_test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres + DB_HOST: postgres +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - deps stages: - lint - test before_script: - - apk update git - - apk add git - mix local.hex --force - mix local.rebar --force - mix deps.get