Browse Source

Merge branch 'patch-1' into 'master'

Update .gitlab-ci.yml

See merge request pleroma/auto_linker!11
merge-requests/12/head
Egor 5 years ago
parent
commit
03e0fb26b2
1 changed files with 10 additions and 5 deletions
  1. +10
    -5
      .gitlab-ci.yml

+ 10
- 5
.gitlab-ci.yml View File

@ -1,24 +1,29 @@
image: elixir:1.7.2 image: elixir:1.7.2
variables:
MIX_ENV: test
cache: cache:
key: ${CI_COMMIT_REF_SLUG} key: ${CI_COMMIT_REF_SLUG}
paths: paths:
- deps - deps
- _build - _build
stages: stages:
- lint
- build
- test - test
- analysis
before_script: before_script:
- mix local.hex --force - mix local.hex --force
- mix local.rebar --force - mix local.rebar --force
build:
stage: build
script:
- mix deps.get - mix deps.get
- mix compile --force - mix compile --force
lint: lint:
stage: lint
stage: test
script: script:
- mix format --check-formatted - mix format --check-formatted
@ -29,6 +34,6 @@ unit-testing:
- mix test --trace --cover - mix test --trace --cover
analysis: analysis:
stage: analysis
stage: test
script: script:
- mix credo --strict - mix credo --strict

Loading…
Cancel
Save