image: elixir:latest cache: key: "$CI_JOB_NAME" paths: - deps - _build - /root/.mix variables: MIX_ENV: "test" before_script: - mix local.hex --force - mix local.rebar --force - mix deps.get --only test test: stage: test script: - mix test credo: stage: test script: - mix credo audit: stage: test script: - mix hex.audit format: stage: test script: - mix format --check-formatted pages: stage: deploy script: - mix docs -o public artifacts: paths: - public only: - master