fix: Get hex, rebar, and dependencies before credo

This commit is contained in:
Robert Prehn 2021-07-20 16:15:04 -05:00
parent aaf0594e63
commit 1cb6ef2c33

View file

@ -41,7 +41,16 @@ test_1.12.1:
credo:
stage: test
image: "elixir:1.12.1-alpine"
script: mix credo diff master --all
cache:
key: "test_1.12.1"
paths:
- _build/
- deps/
script:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix credo diff master --all
build_image_for_commit:
stage: test