X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=.gitlab-ci.yml;h=7c240d9f1523dedd0c55ecba4d72e8692ff08369;hb=28478a9c4f652e67de659adb93155a0dfda4b09f;hp=2fbc87a61c66c3e419f603899ed0cdc7f8ad4a1a;hpb=44a7789732ec1d5de518dfa8cbe1a44d29c5aa2b;p=akkoma diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2fbc87a61..7c240d9f1 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,18 @@ variables: POSTGRES_DB: pleroma_test POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres + DB_HOST: postgres +cache: + key: ${CI_COMMIT_REF_SLUG} + paths: + - deps + - _build stages: - lint - test before_script: - - apk update git - - apk add git - mix local.hex --force - mix local.rebar --force - mix deps.get