Embed announce activity data instead of linking to it
[akkoma] / .gitlab-ci.yml
1 image: elixir:1.5
2
3 services:
4 - postgres:9.6.2
5
6 variables:
7 POSTGRES_DB: pleroma_test
8 POSTGRES_USER: postgres
9 POSTGRES_PASSWORD: postgres
10
11 stages:
12 - lint
13 - test
14
15 before_script:
16 - mix local.hex --force
17 - mix local.rebar --force
18 - mix deps.get
19 - MIX_ENV=test mix ecto.create
20 - MIX_ENV=test mix ecto.migrate
21
22 lint:
23 stage: lint
24 script:
25 - MIX_ENV=test mix format --check-formatted
26
27 unit-testing:
28 stage: test
29 script:
30 - MIX_ENV=test mix test --trace