Improve CI cache
authorRin Toshaka <rinpatch@sdf.org>
Tue, 18 Dec 2018 20:06:53 +0000 (21:06 +0100)
committerRin Toshaka <rinpatch@sdf.org>
Tue, 18 Dec 2018 20:06:53 +0000 (21:06 +0100)
.gitlab-ci.yml

index 8ea652086da7e3b594b411c1650cc9d3abc5650e..e37d318f5a01c186e3a7d264c0ea5645de0b4d9b 100644 (file)
@@ -13,6 +13,7 @@ cache:
   key: ${CI_COMMIT_REF_SLUG}
   paths:
           - deps
+          - _build
 stages:
   - lint
   - test
@@ -23,6 +24,7 @@ before_script:
   - mix deps.get
   - MIX_ENV=test mix ecto.create
   - MIX_ENV=test mix ecto.migrate
+  - mix compile --force
 
 lint:
   stage: lint