2022-08-13 15:12:31 +05:30
|
|
|
# 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.
|
|
|
|
#
|
2021-09-30 23:02:18 +05:30
|
|
|
# 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-08-17 22:00:37 +05:30
|
|
|
image: elixir:latest
|
2016-06-22 15:30:34 +05:30
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
# Pick zero or more services to be used on all builds.
|
2016-06-22 15:30:34 +05:30
|
|
|
# Only needed when using a docker container to run your tests in.
|
2022-07-23 23:45:48 +05:30
|
|
|
# Check out: https://docs.gitlab.com/ee/ci/services/index.html
|
2016-06-22 15:30:34 +05:30
|
|
|
services:
|
|
|
|
- mysql:latest
|
|
|
|
- redis:latest
|
|
|
|
- postgres:latest
|
|
|
|
|
|
|
|
before_script:
|
2017-08-17 22:00:37 +05:30
|
|
|
- mix local.rebar --force
|
|
|
|
- mix local.hex --force
|
2016-06-22 15:30:34 +05:30
|
|
|
- mix deps.get
|
|
|
|
|
|
|
|
mix:
|
|
|
|
script:
|
2019-09-04 21:01:54 +05:30
|
|
|
- mix test
|