debian-mirror-gitlab/lib/gitlab/ci/templates/Elixir.gitlab-ci.yml
2021-01-03 14:25:43 +05:30

19 lines
417 B
YAML

image: elixir:latest
# Pick zero or more services to be used on all builds.
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ee/ci/docker/using_docker_images.html#what-is-a-service
services:
- mysql:latest
- redis:latest
- postgres:latest
before_script:
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
mix:
script:
- mix test