diff --git a/.drone.yml b/.drone.yml index d58fef8..327c0eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -57,6 +57,8 @@ steps: POSTGRES_USER: &db_user postgres POSTGRES_PASS: &db_pass postgres commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix test --cover --trace --slowest 10 volumes: *volumes @@ -67,6 +69,8 @@ steps: - name: compile app image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix compile --force --all-warnings --warnings-as-errors volumes: *volumes @@ -76,6 +80,8 @@ steps: - name: audit deps image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix hex.audit - mix deps.audit @@ -88,6 +94,8 @@ steps: - name: format check image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix format --dry-run --check-formatted volumes: *volumes @@ -97,6 +105,8 @@ steps: - name: credo check image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix credo suggest --strict --format=flycheck volumes: *volumes @@ -106,6 +116,8 @@ steps: - name: dialyzer check image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix dialyzer --no-check --quiet --ignore-exit-status --format short volumes: *volumes @@ -115,6 +127,8 @@ steps: - name: sobelow check image: *elixir commands: + - apt-get update + - apt-get install -y git make - mix do local.rebar --force, local.hex --force - mix sobelow volumes: *volumes