Commit 76539cfa authored by Frank Kumro's avatar Frank Kumro

cache /root/.mix

parent b67723c0
Pipeline #51721113 failed with stages
in 3 minutes and 20 seconds
......@@ -17,6 +17,7 @@ prepare_firmware_deps:
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
script:
- cd /srv/ && mix local.hex --force
......@@ -32,6 +33,7 @@ compile_with_warnings_as_errors:
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix compile --warnings-as-errors'
......@@ -43,6 +45,7 @@ unit_testing:
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix test'
......@@ -54,6 +57,7 @@ dialyzer:
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix dialyzer --format long --halt-exit-status'
......@@ -65,6 +69,7 @@ credo:
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix credo'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment