-
Notifications
You must be signed in to change notification settings - Fork 56
/
semaphore.yml
42 lines (38 loc) · 896 Bytes
/
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
version: "v1.0"
name: "CI Build"
agent:
machine:
type: e1-standard-2
os_image: ubuntu2004
auto_cancel:
running:
when: "true"
fail_fast:
stop:
when: "true"
blocks:
- name: "Build"
dependencies: []
task:
env_vars:
- name: MIX_ENV
value: test
secrets:
- name: cloak-coveralls
jobs:
- name: "Build"
matrix:
- env_var: ELIXIR_VERSION
values: ["1.12.1", "1.13.4", "1.16.0"]
- env_var: ERLANG_VERSION
values: ["23.3", "24.0", "26.0"]
commands:
- sem-version erlang $ERLANG_VERSION
- sem-version elixir $ELIXIR_VERSION
- checkout
- cache restore
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- bin/test
- cache store