Merge branch '2018-12-17-update-frontend' into 'develop'
[akkoma] / .gitlab-ci.yml
index 2fbc87a61c66c3e419f603899ed0cdc7f8ad4a1a..8ea652086da7e3b594b411c1650cc9d3abc5650e 100644 (file)
@@ -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