-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy path.travis.yml
78 lines (69 loc) · 1.86 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: ruby
sudo: false
cache:
bundler: true
rvm:
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
gemfile:
- gemfiles/rails5_0_0.gemfile
- gemfiles/rails5_0_1.gemfile
- gemfiles/rails5_0_2.gemfile
- gemfiles/rails5_0_3.gemfile
- gemfiles/rails5_0_4.gemfile
- gemfiles/rails5_0_5.gemfile
- gemfiles/rails5_0_6.gemfile
- gemfiles/rails5_0_7.gemfile
- gemfiles/rails5_1_0.gemfile
- gemfiles/rails5_1_1.gemfile
- gemfiles/rails5_1_2.gemfile
- gemfiles/rails5_1_3.gemfile
- gemfiles/rails5_1_4.gemfile
- gemfiles/rails5_1_5.gemfile
- gemfiles/rails5_1_6.gemfile
- gemfiles/rails5_2_0.gemfile
- gemfiles/rails5_2_1.gemfile
- gemfiles/rails6_0_0.gemfile
- gemfiles/rails_edge.gemfile
env:
- SETUP_TASK=turntable:db:reset BUILD_TASK=spec
- SETUP_TASK=turntable:db:reset BUILD_TASK=spec SPEC_OPTS="--tag with_katsubushi"
- SETUP_TASK=turntable:activerecord:setup BUILD_TASK=turntable:activerecord:test
services:
- docker
before_install:
- docker run -d --name turntable-katsubushi -p 11212:11212 katsubushi/katsubushi:latest -worker-id 1
before_script:
- bundle exec rake $SETUP_TASK
script:
- bundle exec rake $BUILD_TASK
matrix:
exclude:
- rvm: ruby-head
- gemfile: gemfiles/rails_edge.gemfile
- rvm: 2.2.10
- rvm: 2.3.7
- rvm: 2.4.4
include:
- rvm: 2.2.10
gemfile: gemfiles/rails5_0_7.gemfile
- rvm: 2.2.10
gemfile: gemfiles/rails5_1_6.gemfile
- rvm: 2.2.10
gemfile: gemfiles/rails5_2_1.gemfile
- rvm: 2.3.7
gemfile: gemfiles/rails5_2_1.gemfile
- rvm: 2.4.4
gemfile: gemfiles/rails5_2_1.gemfile
- rvm: 2.5.1
gemfile: gemfiles/rails6_0_0.gemfile
- rvm: 2.5.1
gemfile: gemfiles/rails_edge.gemfile
- rvm: ruby-head
gemfile: gemfiles/rails_edge.gemfile
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/rails_edge.gemfile