-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yml
More file actions
69 lines (60 loc) · 1.51 KB
/
Copy pathconfig.yml
File metadata and controls
69 lines (60 loc) · 1.51 KB
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
version: 2.1
orbs:
elixir: membraneframework/elixir@1
win: circleci/windows@4.1
jobs:
windows_test:
executor:
name: win/default
size: medium
shell: cmd.exe
steps:
- checkout
- restore_cache:
keys:
[choco-cache]
- run:
name: Install Elixir
command: choco install -y erlang elixir
- save_cache:
key: choco-cache
paths:
- C:\Users\circleci\AppData\Local\Temp
- run:
name: Get dependencies
command: |
refreshenv && C:\ProgramData\chocolatey\lib\Elixir\tools\bin\mix local.hex --force && C:\ProgramData\chocolatey\lib\Elixir\tools\bin\mix deps.get
- run:
name: Run all tests
command: |
refreshenv && C:\ProgramData\chocolatey\lib\Elixir\tools\bin\mix test --warnings-as-errors
workflows:
version: 2
build:
jobs:
- elixir/build_test:
filters: &filters
tags:
only: /v.*/
- elixir/test:
filters:
<<: *filters
- elixir/lint:
filters:
<<: *filters
- windows_test:
filters:
<<: *filters
- elixir/hex_publish:
requires:
- elixir/build_test
- elixir/test
- elixir/lint
- windows_test
context:
- Deployment
filters:
branches:
ignore: /.*/
tags:
only: /v.*/