forked from whatyouhide/redix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (34 loc) · 856 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
language: elixir
sudo: required
services:
- docker
stages:
- check formatted
- test
# Defaults for all stages.
elixir: "1.9"
otp_release: "22.0"
env:
- DOCKER_COMPOSE_VERSION=1.22.0
script:
- docker-compose up --detach
- mix test --trace --exclude propcheck
jobs:
include:
- stage: test
- otp_release: "21.3"
elixir: "1.8"
- otp_release: "20.3"
elixir: "1.7"
- otp_release: "19.3"
elixir: "1.6"
- stage: check formatted
script: mix format --check-formatted
sudo: false
before_install: skip
before_install:
- 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
- docker-compose build