forked from cabol/nebulex_redis_adapter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (29 loc) · 803 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
language: elixir
sudo: required
services:
- docker
elixir:
- 1.8
otp_release:
- 21.3
env:
- NBX_TEST=true MIX_ENV=test DOCKER_COMPOSE_VERSION=1.22.0 REDIS_CLUSTER_IP=0.0.0.0
before_script:
- docker-compose up -d
- epmd -daemon
- mix deps.get --only test
script:
- mix coveralls.travis
- mix dialyzer --plt
- mix dialyzer --halt-exit-status
- mix credo --strict
- mix format --check-formatted
after_script:
- MIX_ENV=docs mix deps.get
- MIX_ENV=docs mix inch.report
before_install:
- sudo rm /usr/local/bin/docker-compose
- curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
- docker-compose --version