-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
63 lines (59 loc) · 908 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# TESTS
script: mix coveralls.travis
stages:
- name: checks
- name: test
jobs:
include:
- stage: checks
- script: mix credo list
- script: travis_wait mix dialyzer --check=false
- script: mix inch.report
- stage: test
# MATRIX
language: elixir
otp_release:
- 20.1
- 20.0
- 19.2
# - 19.1
- 19.0
- 18.3
# - 18.2
# - 18.1
- 18.0
elixir:
# - 1.6.0
- 1.5.3
# - 1.5.2
# - 1.5.1
- 1.5.0
os:
- linux
# - osx
# - windows
branches:
only:
- master
- development
# SETUP
env:
global:
- MIX_ENV=test
- DOCTESTS=true
- ALL_BACKENDS=true
install:
- sudo apt-get -y install inotify-tools # for cortex
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
services:
- redis-server
- memcached
- elasticsearch
# CACHING
cache:
directories:
- deps
- "/home/travis/.rvm"
- "/home/travis/.cache"