forked from achedeuzot/ueberauth_auth0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (71 loc) · 1.49 KB
/
.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
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
language: elixir
sudo: false
otp_release:
- 21
elixir:
- 1.9
matrix:
include:
- elixir: '1.4'
otp_release: '19.3'
- elixir: '1.5'
otp_release: '19.3'
- elixir: '1.5'
otp_release: '20.3'
- elixir: '1.6'
otp_release: '19.3'
- elixir: '1.6'
otp_release: '20.3'
- elixir: '1.7'
otp_release: '19.3'
- elixir: '1.7'
otp_release: '20.3'
- elixir: '1.7'
otp_release: '21.3'
- elixir: '1.7'
otp_release: '22.0'
- elixir: '1.8'
otp_release: '20.3'
- elixir: '1.8'
otp_release: '21.3'
- elixir: '1.8'
otp_release: '22.0'
- elixir: '1.9'
otp_release: '20.3'
- elixir: '1.9'
otp_release: '21.3'
- elixir: '1.9'
otp_release: '22.0'
# - elixir: '1.10'
# otp_release: '20.3'
# - elixir: '1.10'
# otp_release: '21.3'
# - elixir: '1.10'
# otp_release: '22.0'
env:
global:
- MIX_ENV=test
cache:
directories:
- _build
- deps
- priv/plts
install:
- mix local.rebar --force; mix local.hex --force; mix deps.get
script:
- mix compile
- mix credo --strict
- mix dialyzer --halt-exit-status
- mix test
- mix coveralls.travis
#deploy:
# provider: script
# script: >-
# mix deps.get &&
# mix hex.config username "$HEX_USERNAME" &&
# (mix hex.config encrypted_key "$HEX_ENCRYPTED_KEY" > /dev/null 2>&1) &&
# (echo "$HEX_PASSPHRASE"\\nY | mix hex.publish) &&
# mix clean &&
# mix deps.clean --all
# on:
# tags: true