Current section
Files
Jump to
Current section
Files
.gitlab-ci.yml
image: elixir:latest
stages:
- lint
- test
- build
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- _build
before_script:
- mix local.hex --force
lint:
stage: lint
script:
- mix format --check-formatted
test:
stage: test
script:
- mix test --trace
build:
stage: build
script:
- MIX_ENV=prod mix compile