Commit 7ccc5c5e authored by Frank Kumro's avatar Frank Kumro

Try again

parent 54f6629b
Pipeline #51747466 canceled with stages
in 1 minute and 43 seconds
......@@ -15,9 +15,10 @@ prepare_firmware_deps:
cache:
key: '$CI_COMMIT_REF_SLUG-firmware'
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
- "$CI_PROJECT_DIR/fw/deps/"
- "$CI_PROJECT_DIR/fw/_build/"
- "/root/.mix/"
- "/root/.hex/"
script:
- cd /srv/ && mix local.hex --force
......@@ -31,9 +32,10 @@ compile_with_warnings_as_errors:
cache:
key: '$CI_COMMIT_REF_SLUG-firmware'
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
- "$CI_PROJECT_DIR/fw/deps/"
- "$CI_PROJECT_DIR/fw/_build/"
- "/root/.mix/"
- "/root/.hex/"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix compile --warnings-as-errors'
......@@ -43,9 +45,10 @@ unit_testing:
cache:
key: '$CI_COMMIT_REF_SLUG-firmware'
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
- "$CI_PROJECT_DIR/fw/deps/"
- "$CI_PROJECT_DIR/fw/_build/"
- "/root/.mix/"
- "/root/.hex/"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix test'
......@@ -55,9 +58,10 @@ dialyzer:
cache:
key: '$CI_COMMIT_REF_SLUG-firmware'
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
- "$CI_PROJECT_DIR/fw/deps/"
- "$CI_PROJECT_DIR/fw/_build/"
- "/root/.mix/"
- "/root/.hex/"
policy: pull
script:
- 'cd $CI_PROJECT_DIR/fw && mix dialyzer --format long --halt-exit-status'
......@@ -67,9 +71,10 @@ credo:
cache:
key: '$CI_COMMIT_REF_SLUG-firmware'
paths:
- "$CI_PROJECT_DIR/fw/deps"
- "$CI_PROJECT_DIR/fw/_build"
- "/root/.mix"
- "$CI_PROJECT_DIR/fw/deps/"
- "$CI_PROJECT_DIR/fw/_build/"
- "/root/.mix/"
- "/root/.hex/"
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