-
Notifications
You must be signed in to change notification settings - Fork 78
/
.travis.yml
44 lines (42 loc) · 1.06 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
sudo: false
services: mongodb
language: ruby
cache: bundler
rvm:
- 2.4.10
- 2.5.8
- 2.6.6
- 2.7.2
gemfile:
- gemfiles/active5.0.7.2.gemfile
- gemfiles/active5.1.7.gemfile
- gemfiles/active5.2.4.3.gemfile
- gemfiles/active6.0.3.1.gemfile
- gemfiles/active6.1.0.gemfile
- gemfiles/rails5.0.7.2.gemfile
- gemfiles/rails5.1.7.gemfile
- gemfiles/rails5.2.4.3.gemfile
- gemfiles/rails6.0.3.1.gemfile
- gemfiles/rails6.1.0.gemfile
- gemfiles/railsedge.gemfile
matrix:
exclude:
- rvm: 2.4.10
gemfile: gemfiles/active6.0.3.1.gemfile
- rvm: 2.4.10
gemfile: gemfiles/active6.1.0.gemfile
- rvm: 2.4.10
gemfile: gemfiles/rails6.0.3.1.gemfile
- rvm: 2.4.10
gemfile: gemfiles/rails6.1.0.gemfile
- rvm: 2.4.10
gemfile: gemfiles/railsedge.gemfile
- rvm: 2.5.8
gemfile: gemfiles/railsedge.gemfile
fast_finish: true
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
script:
- bundle exec rubocop -P
- bundle exec rspec -f d spec