This is needed to elixir install git dependencies.
This commit is contained in:
parent
ad169e7a22
commit
a04704cad4
12
.drone.yml
12
.drone.yml
@ -44,6 +44,8 @@ steps:
|
|||||||
POSTGRES_USER: &db_user postgres
|
POSTGRES_USER: &db_user postgres
|
||||||
POSTGRES_PASS: &db_pass postgres
|
POSTGRES_PASS: &db_pass postgres
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix compile
|
- mix compile
|
||||||
- mix test --cover --trace --slowest 10
|
- mix test --cover --trace --slowest 10
|
||||||
@ -107,6 +109,8 @@ steps:
|
|||||||
- name: compile app
|
- name: compile app
|
||||||
image: &elixir 'hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim'
|
image: &elixir 'hexpm/elixir:1.17.2-erlang-27.0-debian-bookworm-20240701-slim'
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix compile --all-warnings --warnings-as-errors
|
- mix compile --all-warnings --warnings-as-errors
|
||||||
|
|
||||||
@ -124,24 +128,32 @@ steps:
|
|||||||
- name: format check
|
- name: format check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix format --dry-run --check-formatted
|
- mix format --dry-run --check-formatted
|
||||||
|
|
||||||
- name: credo check
|
- name: credo check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix credo suggest --strict --format=flycheck
|
- mix credo suggest --strict --format=flycheck
|
||||||
|
|
||||||
- name: dialyzer check
|
- name: dialyzer check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix dialyzer --no-check --quiet --ignore-exit-status --format short
|
- mix dialyzer --no-check --quiet --ignore-exit-status --format short
|
||||||
|
|
||||||
- name: sobelow check
|
- name: sobelow check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git
|
||||||
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
- mix do local.rebar --force, local.hex --force, deps.get, deps.compile
|
||||||
- mix sobelow
|
- mix sobelow
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user