2017-01-09 09:24:25 -05:00
|
|
|
image: elixir:latest
|
2016-06-16 04:39:17 -04:00
|
|
|
|
2016-07-26 22:59:24 -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.
|
2017-06-26 11:36:29 -04:00
|
|
|
# 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
|