forked from sunspot/sunspot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (50 loc) · 1.29 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
language: ruby
cache: bundler
sudo: false
rvm:
- 1.9.3
- 2.0.0
- 2.1.0
- 2.3.1
# - rbx-2.0
# - jruby
env:
- GEM=sunspot RSOLR=1.1.2
- GEM=sunspot
- GEM=sunspot_rails RAILS=3.0.0
- GEM=sunspot_rails RAILS=3.1.0
- GEM=sunspot_rails RAILS=3.2.0
- GEM=sunspot_rails RAILS=4.0.0
- GEM=sunspot_rails RAILS=4.1.0
- GEM=sunspot_rails RAILS=4.2.0
- GEM=sunspot_rails RAILS=5.0
- GEM=sunspot_solr
# Limit the size of the matrix by only performing the most common builds
matrix:
exclude:
# Not supporting Ruby 2.0 and Rails < 3
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=3.0.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=3.1.0
allow_failures:
# SQLITE fails to load correctly on Travis in Ruby 2.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=3.2.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=4.0.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=4.1.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=4.2.0
# rails 5.0 doesn't work with rspec-rails-2.14.2 undefined method 'alias_method_chain'
- rvm: 1.9.3
env: GEM=sunspot_rails RAILS=5.0
- rvm: 2.0.0
env: GEM=sunspot_rails RAILS=5.0
- rvm: 2.1.0
env: GEM=sunspot_rails RAILS=5.0
- rvm: 2.3.1
env: GEM=sunspot_rails RAILS=5.0
script:
- ci/travis.sh