forked from markets/invisible_captcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (40 loc) · 1 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
language: ruby
cache: bundler
sudo: false
rvm:
- ruby-head
- 2.6.2
- 2.5.5
- 2.4.5
- 2.3.8
- 2.2.10
gemfile:
- gemfiles/rails_6.0.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_3.2.gemfile
before_install:
# Rails 4.x requires Bundler version < 2.0.
- "find /home/travis/.rvm/rubies -wholename '*default/bundler-*.gemspec' -delete"
- rvm @global do gem uninstall bundler -a -x
- rvm @global do yes | gem install bundler -v '< 2'
matrix:
exclude:
- rvm: 2.4.5
gemfile: gemfiles/rails_6.0.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails_6.0.gemfile
- rvm: 2.2.10
gemfile: gemfiles/rails_6.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.6.2
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.5.5
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.4.5
gemfile: gemfiles/rails_3.2.gemfile
allow_failures:
- rvm: ruby-head