gitlab-org--gitlab-foss/lib/gitlab/ci/templates/Elixir.gitlab-ci.yml

19 lines
417 B
YAML
Raw Normal View History

2017-01-09 09:24:25 -05:00
image: elixir:latest
2016-06-16 04:39:17 -04:00
# Pick zero or more services to be used on all builds.
2016-06-16 04:39:17 -04:00
# Only needed when using a docker container to run your tests in.
# Check out: http://docs.gitlab.com/ce/ci/docker/using_docker_images.html#what-is-a-service
2016-06-16 04:39:17 -04:00
services:
- mysql:latest
- redis:latest
- postgres:latest
before_script:
2017-01-09 09:24:25 -05:00
- mix local.rebar --force
- mix local.hex --force
2016-06-16 04:39:17 -04:00
- mix deps.get
mix:
script:
- mix test