-
Notifications
You must be signed in to change notification settings - Fork 15
/
.travis.yml
55 lines (53 loc) · 1.12 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
language: ruby
cache: bundler
services:
- mongodb
rvm:
- 2.3.5
- 2.4.2
- 2.5.1
- 2.6.3
- 2.7.0
- ruby-head
- jruby-9.1.17.0
- jruby-9.2.11.1
- jruby-head
gemfile:
- gemfiles/cancancan_2.gemfile
- gemfiles/mongoid_3.gemfile
- gemfiles/mongoid_4.gemfile
- gemfiles/mongoid_5.gemfile
- gemfiles/mongoid_6.1.gemfile
- gemfiles/mongoid_6.2.gemfile
- gemfiles/mongoid_7.0.gemfile
- gemfiles/mongoid_7.1.gemfile
env:
- DB=sqlite
- DB=postgres
bundler_args: "--jobs=3 --retry=3"
matrix:
fast_finish: true
exclude:
- rvm: 2.7.0
gemfile: gemfiles/mongoid_3.gemfile
- rvm: 2.7.0
gemfile: gemfiles/mongoid_4.gemfile
- rvm: 2.7.0
gemfile: gemfiles/mongoid_5.gemfile
- rvm: ruby-head
gemfile: gemfiles/mongoid_3.gemfile
- rvm: ruby-head
gemfile: gemfiles/mongoid_4.gemfile
- rvm: ruby-head
gemfile: gemfiles/mongoid_5.gemfile
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
notifications:
email:
recipients:
on_success: change
on_failure: change
script:
- bundle exec rubocop && bundle exec rake