-
Notifications
You must be signed in to change notification settings - Fork 369
/
.cirrus.yml
47 lines (45 loc) · 958 Bytes
/
.cirrus.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
task:
name: Lint
container:
image: elixir:1.10
script:
mix format --check-formatted
task:
name: Tests (Linux)
container:
image: elixir:1.10
env:
MIX_ENV: 'test'
MIX_HOME: '/opt/mix'
LC_ALL: 'en_US.UTF-8'
LANG: 'en_US.utf8'
mix_cache:
folder: deps
fingerprint_script:
- echo $CIRRUS_OS
- cat mix.lock
populate_script: |
mix local.hex --if-missing --force
mix local.rebar --force
mix deps.get
compile_script: mix compile
test_script: mix test
task:
name: Tests (macOS)
osx_instance:
image: catalina-base
env:
MIX_ENV: 'test'
script: |
brew install erlang elixir
mix_cache:
folder: deps
fingerprint_script:
- echo $CIRRUS_OS
- cat mix.lock
populate_script: |
mix local.hex --if-missing --force
mix local.rebar --force
mix deps.get
compile_script: mix compile
test_script: mix test