Update .gitlab-ci.yml
This commit is contained in:
parent
c391574a70
commit
a979728790
1 changed files with 11 additions and 21 deletions
|
@ -36,9 +36,17 @@ build:
|
|||
reports:
|
||||
dotenv: project_info.env
|
||||
|
||||
build_i2c_1_x:
|
||||
test:
|
||||
image: elixir:latest
|
||||
stage: build
|
||||
dependencies:
|
||||
- build
|
||||
stage: test
|
||||
script:
|
||||
- mix test
|
||||
|
||||
build_and_test_i2c_1_x:
|
||||
image: elixir:latest
|
||||
stage: test
|
||||
cache:
|
||||
key: "$CI_JOB_NAME"
|
||||
paths:
|
||||
|
@ -51,31 +59,13 @@ build_i2c_1_x:
|
|||
- mix local.rebar --force
|
||||
- CI_I2C_1_X=true mix deps.get
|
||||
- mix deps.compile
|
||||
- mix git_ops.project_info -f dotenv > project_info.env
|
||||
- mix test
|
||||
artifacts:
|
||||
paths:
|
||||
- _build/
|
||||
- deps/
|
||||
- .hex
|
||||
- .mix
|
||||
reports:
|
||||
dotenv: project_info.env
|
||||
|
||||
test:
|
||||
image: elixir:latest
|
||||
dependencies:
|
||||
- build
|
||||
stage: test
|
||||
script:
|
||||
- mix test
|
||||
|
||||
test_i2c_1_x:
|
||||
image: elixir:latest
|
||||
dependencies:
|
||||
- build_i2c_1_x
|
||||
stage: test
|
||||
script:
|
||||
- CI_I2C_1_X=true mix test
|
||||
|
||||
integrate:
|
||||
image: elixir:latest
|
||||
|
|
Loading…
Reference in a new issue