forked from smartinez87/exception_notification
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
66 lines (62 loc) · 1.58 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
language: ruby
cache: bundler
rvm:
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.7
- 2.5.6
- 2.6.4
env:
- COVERALLS_SILENT=true
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
install:
- "bundle install --jobs=3 --retry=3 --path=vendor/bundle"
- "mkdir -p test/dummy/tmp/cache"
- "mkdir -p test/dummy/tmp/non_default_location"
gemfile:
- gemfiles/rails4_0.gemfile
- gemfiles/rails4_1.gemfile
- gemfiles/rails4_2.gemfile
- gemfiles/rails5_0.gemfile
- gemfiles/rails5_1.gemfile
- gemfiles/rails5_2.gemfile
- gemfiles/rails6_0.gemfile
matrix:
exclude:
# Rails 5 supports Ruby 2.2.2 and up
- rvm: 2.1.10
gemfile: gemfiles/rails5_0.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5_1.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails5_2.gemfile
# Rails 6 supports Ruby 2.5 and up
- rvm: 2.1.10
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.2.10
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails6_0.gemfile
- rvm: 2.4.7
gemfile: gemfiles/rails6_0.gemfile
# rails <=4.1 segfaults with ruby 2.4+
- rvm: 2.4.7
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.4.7
gemfile: gemfiles/rails4_1.gemfile
- rvm: 2.5.6
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.5.6
gemfile: gemfiles/rails4_1.gemfile
- rvm: 2.6.4
gemfile: gemfiles/rails4_0.gemfile
- rvm: 2.6.4
gemfile: gemfiles/rails4_1.gemfile
jobs:
include:
- stage: Lint
rvm: 2.6.4
script: bundle exec rubocop