Improve CI cache

This commit is contained in:
Rin Toshaka 2018-12-18 21:06:53 +01:00
parent 443d59baa0
commit f685351c1e

View 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