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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
857 B
YAML
Raw Normal View History

# You can copy and paste this template into a new `.gitlab-ci.yml` file.
# You should not add this template to an existing `.gitlab-ci.yml` file by using the `include:` keyword.
#
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Elixir.gitlab-ci.yml
2017-01-09 14:24:25 +00:00
image: elixir:latest
2016-06-16 08:39:17 +00:00
# Pick zero or more services to be used on all builds.
2016-06-16 08:39:17 +00:00
# Only needed when using a docker container to run your tests in.
# Check out: https://docs.gitlab.com/ee/ci/services/index.html
2016-06-16 08:39:17 +00:00
services:
- mysql:latest
- redis:latest
- postgres:latest
before_script:
2017-01-09 14:24:25 +00:00
- mix local.rebar --force
- mix local.hex --force
2016-06-16 08:39:17 +00:00
- mix deps.get
mix:
script:
- mix test