forked from CrowdHailer/Ace
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
49 lines (49 loc) · 998 Bytes
/
.travis.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
language: elixir
matrix:
include:
# - otp_release: 20.3
# elixir: 1.7.4
- otp_release: 21.3
elixir: 1.7.4
- otp_release: 21.3
elixir: 1.8.1
- otp_release: 22.0
elixir: 1.8.2
- otp_release: 21.3
elixir: 1.9.4
env:
- DIALYZER_CHECK=1
- MIX_ENV=test
- otp_release: 21.3
elixir: 1.10.2
env:
- DIALYZER_CHECK=1
- MIX_ENV=test
- otp_release: 22.3
elixir: 1.9.4
env:
- DIALYZER_CHECK=1
- MIX_ENV=test
- otp_release: 22.3
elixir: 1.10.2
env:
- DIALYZER_CHECK=1
- MIX_ENV=test
env:
- MIX_ENV=test
before_script:
- mix local.hex --force && mix deps.get
script:
- mix test
- mix format --check-formatted
- |
if [ "${DIALYZER_CHECK}" == "1" ]; then
mix dialyzer --halt-exit-status
fi
cache:
directories:
- _build
before_cache:
# should only keep the dialyzer artifacts
- mix clean
- mix deps.clean --all