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} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- deps - deps
- _build
stages: stages:
- lint - lint
- test - test
@ -23,6 +24,7 @@ before_script:
- mix deps.get - mix deps.get
- MIX_ENV=test mix ecto.create - MIX_ENV=test mix ecto.create
- MIX_ENV=test mix ecto.migrate - MIX_ENV=test mix ecto.migrate
- mix compile --force
lint: lint:
stage: lint stage: lint