This commit is contained in:
parent
7125401e43
commit
a6af8a7013
14
.drone.yml
14
.drone.yml
@ -57,6 +57,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 make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix test --cover --trace --slowest 10
|
- mix test --cover --trace --slowest 10
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
@ -67,6 +69,8 @@ steps:
|
|||||||
- name: compile app
|
- name: compile app
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix compile --force --all-warnings --warnings-as-errors
|
- mix compile --force --all-warnings --warnings-as-errors
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
@ -76,6 +80,8 @@ steps:
|
|||||||
- name: audit deps
|
- name: audit deps
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix hex.audit
|
- mix hex.audit
|
||||||
- mix deps.audit
|
- mix deps.audit
|
||||||
@ -88,6 +94,8 @@ steps:
|
|||||||
- name: format check
|
- name: format check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix format --dry-run --check-formatted
|
- mix format --dry-run --check-formatted
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
@ -97,6 +105,8 @@ steps:
|
|||||||
- name: credo check
|
- name: credo check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix credo suggest --strict --format=flycheck
|
- mix credo suggest --strict --format=flycheck
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
@ -106,6 +116,8 @@ steps:
|
|||||||
- name: dialyzer check
|
- name: dialyzer check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix dialyzer --no-check --quiet --ignore-exit-status --format short
|
- mix dialyzer --no-check --quiet --ignore-exit-status --format short
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
@ -115,6 +127,8 @@ steps:
|
|||||||
- name: sobelow check
|
- name: sobelow check
|
||||||
image: *elixir
|
image: *elixir
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update
|
||||||
|
- apt-get install -y git make
|
||||||
- mix do local.rebar --force, local.hex --force
|
- mix do local.rebar --force, local.hex --force
|
||||||
- mix sobelow
|
- mix sobelow
|
||||||
volumes: *volumes
|
volumes: *volumes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user