-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.gitlab-ci.yml
50 lines (44 loc) · 1.54 KB
/
.gitlab-ci.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
variables:
ERL_LIBS: "./libs"
stages:
- test
- eqc
- upstream
test:
stage: test
script:
- ./rebar3 as lint lint
tags:
- erlang-19
dialyzer:
stage: test
script:
- ./rebar3 dialyzer
tags:
- erlang-19
eunit:
stage: test
script:
- ./rebar3 eunit
tags:
- erlang-19
eqc:
stage: eqc
script:
- mkdir libs
- cd libs
- curl -Ol http://www.quviq.com/wp-content/uploads/2015/09/eqcmini-2.01.0.zip
- unzip eqcmini-2.01.0.zip
- cd ..
- epmd &
- ./rebar3 as eqc eqc
tags:
- erlang-19
upstream:
stage: upstream
script:
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=test" --form "variables[DOWNSTREAM_LIBRARY]=$CI_PROJECT_NAME" https://gitlab.com/api/v4/projects/$SNARL_PID/trigger/pipeline'
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=test" --form "variables[DOWNSTREAM_LIBRARY]=$CI_PROJECT_NAME" https://gitlab.com/api/v4/projects/$SNIFFLE_PID/trigger/pipeline'
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=test" --form "variables[DOWNSTREAM_LIBRARY]=$CI_PROJECT_NAME" https://gitlab.com/api/v4/projects/$WIGGLE_PID/trigger/pipeline'
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=test" --form "variables[DOWNSTREAM_LIBRARY]=$CI_PROJECT_NAME" https://gitlab.com/api/v4/projects/$CHUNTER_PID/trigger/pipeline'
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=test" --form "variables[DOWNSTREAM_LIBRARY]=$CI_PROJECT_NAME" https://gitlab.com/api/v4/projects/$FIFO_DNS_PID/trigger/pipeline'