Commit d4841ead by Mikko Ahlroth

Simplify build script by stating Mix env only once

parent 47f857ab
Pipeline #13459632 passed with stage
in 2 minutes 7 seconds
......@@ -8,6 +8,7 @@ services:
- postgres:latest
variables:
MIX_ENV: ci
POSTGRES_DB: code_stats_ci
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
......@@ -16,10 +17,10 @@ before_script:
# Set up required dummy config files
- echo 'use Mix.Config' > config/appsignal.exs
- MIX_ENV=ci mix local.rebar --force
- MIX_ENV=ci mix local.hex --force
- MIX_ENV=ci mix deps.get
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
mix:
script:
- MIX_ENV=ci mix test
- mix test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment