This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
linkify/.gitlab-ci.yml
2019-06-27 16:10:11 +07:00

34 lines
479 B
YAML

image: elixir:1.8.1
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- deps
- _build
stages:
- lint
- test
- analysis
before_script:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix compile --force
lint:
stage: lint
script:
- mix format --check-formatted
unit-testing:
stage: test
coverage: '/(\d+\.\d+\%) \| Total/'
script:
- mix test --trace --cover
analysis:
stage: analysis
script:
- mix credo --strict