fix: Get hex, rebar, and dependencies before credo
This commit is contained in:
parent
aaf0594e63
commit
1cb6ef2c33
1 changed files with 10 additions and 1 deletions
|
@ -41,7 +41,16 @@ test_1.12.1:
|
||||||
credo:
|
credo:
|
||||||
stage: test
|
stage: test
|
||||||
image: "elixir:1.12.1-alpine"
|
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:
|
build_image_for_commit:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
Loading…
Reference in a new issue