-
Notifications
You must be signed in to change notification settings - Fork 81
/
Copy pathsemaphore.yml
105 lines (105 loc) · 3.61 KB
/
semaphore.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: v1.0
name: AppSignal Elixir Build and Tests
agent:
machine:
type: e1-standard-2
os_image: ubuntu1804
blocks:
- name: Run linters and tests
task:
prologue:
commands:
- checkout
jobs:
- name: Git Lint (Lintje)
commands:
- script/lint_git
- name: mix compile --warnings-as-errors
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.10.4 . bin/setup
- mix compile --warnings-as-errors
- name: mix format --check-formatted
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.12.3 . bin/setup
- mix format --check-formatted
- name: mix credo --strict
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.10.4 . bin/setup
- mix credo --strict
- name: mix dialyzer
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.10.4 . bin/setup
- cache restore dialyzer-plt
- MIX_ENV=dev mix dialyzer --plt
- cache store dialyzer-plt priv/plts/
- MIX_ENV=dev mix dialyzer
- name: Elixir 1.12.2, OTP 24 - Diagnose tests
env_vars:
- name: LANGUAGE
value: elixir
- name: MIX_ENV
value: dev
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.12.2 . bin/setup
- git submodule init
- git submodule update
- test/integration/diagnose/bin/test
- name: Elixir main, OTP 24
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=main . bin/setup
- mix test
- name: Elixir main, OTP 24, without the NIF loaded
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=main . bin/setup
- MIX_ENV=test_no_nif mix test
- name: Elixir 1.12.2, OTP 24
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.12.2 . bin/setup
- mix test
- name: Elixir 1.12.2, OTP 23
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.12.2 . bin/setup
- mix test
- name: Elixir 1.12.2, OTP 22
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.12.2 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 24
commands:
- ERLANG_VERSION=24.0 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 23
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 22
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.11.4, OTP 21
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.11.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 23
commands:
- ERLANG_VERSION=23.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 22
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.10.4, OTP 21
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.10.4 . bin/setup
- mix test
- name: Elixir 1.9.4, OTP 22
commands:
- ERLANG_VERSION=22.3 ELIXIR_VERSION=1.9.4 . bin/setup
- mix test
- name: Elixir 1.9.4, OTP 21
commands:
- ERLANG_VERSION=21.3 ELIXIR_VERSION=1.9.4 . bin/setup
- mix test
env_vars:
- name: MIX_ENV
value: test