blob: ca7ec81860fab692a894326ac7343b743eba3d33 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
stages:
- static_analysis
- deploy
image: elixir:latest
before_script:
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
test:
stage: static_analysis
script:
- MIX_ENV=test mix compile
- mix test --cover
artifacts:
paths:
- cover
format:
stage: static_analysis
script:
- mix format --check-formatted
pages:
stage: deploy
script:
- mix docs -o public
artifacts:
paths:
- public
only:
- master
|