-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
85 lines (74 loc) · 2.14 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
79
80
81
82
83
84
85
language: elixir
elixir:
- 1.9.0
- 1.9.1
- 1.9.2
- 1.9.3
- 1.9.4
- 1.10.0
- 1.10.1
- 1.10.2
- 1.10.3
- 1.10.4
otp_release:
- 21.3
- 22.3
- 23.0
matrix:
include:
# Elixir format
- elixir: 1.9.1
script:
- mix format --check-formatted
env: CHECK_FORMAT=TRUE
# Elixir credo
- elixir: 1.9.1
script:
- mix credo --strict
env: CHECK_SYNTAX=TRUE
allow_failures:
- env: CHECK_SYNTAX=TRUE
exclude:
- elixir: 1.9.0
otp_release: 23.0
- elixir: 1.9.1
otp_release: 23.0
- elixir: 1.9.2
otp_release: 23.0
- elixir: 1.9.3
otp_release: 23.0
- elixir: 1.9.4
otp_release: 23.0
- elixir: 1.10.0
otp_release: 23.0
- elixir: 1.10.1
otp_release: 23.0
- elixir: 1.10.2
otp_release: 23.0
dist: trusty
addons:
postgresql: "9.6"
services:
- rabbitmq
env:
- MIX_ENV=test
install:
- echo "use Mix.Config" > config/dev.secret.exs
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- curl -o- -L https://yarnpkg.com/install.sh | sh -s -- --version 1.9.4
before_script:
- psql -c 'create database ex_subtil_backend_test;' -U postgres
- mkdir -p priv/repo/migrations
- mkdir -p deps/step_flow/priv/repo/migrations
- echo -n 0.0.0 > VERSION
scripts:
- mix test
- cd assets && ../yarn && ../yarn run lint && ../yarn run release
notifications:
slack:
secure: lEnXJessDb7IkXaFox81yd2EqWWu7jIDczHZQY8ueIaaeJkb1GJdYZabEPAgFM6Y+ES0jPPXC+G/GkDbtRVLWi1TK687Dsb0uO4qdJm46S2QDZ6SjJvj7xT18qJDl2oqm9Ad8fWorpZUY4K0beDyZ9RQaP/6Fu9FMdq1JqvQrq9Pm2KI1LKoqRK/0YDkQ83zA/T8liIbELceFU8nGq2KG8aPGcfC4nlqJ1TyaGmuMHuGydXAL2I8wGZg+ydY8FUXgrxgFA4yC2G94NgLldcxps+WgLmcM2GqlKQLt+mlxUGdnnMLQ+J37eAzzS0mYdZPfnP01nIGoJGDHTobwPGo7fgG/3us/orb2R4UqoKa2KGEyujAXCRrn5c40+CMwxO5Epyguf9O3Og6ffx9hRs/1Z6izVOY+2AE1g4fEf7rvKhumHBrlAoMGv/27s/VDjpOg60lajALM9jvcCB19s5fCWVJEn8yIm49rd22xUmb9qc1xiEFZz2NZDJHGfMYUa4sY2fjQg5mmm8DjuGvr7cvmfByMHMBhXSayRTj+cbR/5ebKuIH2cZRmqkkeptkIaeyBBsL4WD/OJ1zK2sbEiH0hEy+IuzjNT/MPz7RbYYWjuHFvl0NIwNRZzcJ9nP5FkhfYGXRHtfbo/+ZN57q6kHwiTvU+t+OzoNMHPaIvMSw16M=
email:
recipients: