forked from rspec/rspec-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
62 lines (62 loc) · 1.85 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
before_script:
# Rails 4.x complains with a bundler rails binstub in PROJECT_ROOT/bin/
- rm -f bin/rails
- bundle exec rails --version
script: "script/run_build 2>&1"
bundler_args: "--binstubs"
before_install:
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
- gem install bundler -v=1.5.3
- alias bundle="bundle _1.5.3_"
rvm:
# Use fuzzy matching to work around https://github.com/travis-ci/travis-ci/issues/2220
- 2.1
- 2.0.0
- 1.9.3
- 1.9.2
# Specifically call out MRI to work around https://github.com/travis-ci/travis-ci/issues/2217
- ruby-1.8.7
env:
- RAILS_VERSION=master
- RAILS_VERSION='~> 4.1.0'
- RAILS_VERSION=4-1-stable
- RAILS_VERSION='~> 4.0.4'
- RAILS_VERSION=4-0-stable
- RAILS_VERSION='~> 3.2.17'
- RAILS_VERSION=3-2-stable
- RAILS_VERSION='~> 3.1.12'
- RAILS_VERSION='~> 3.0.20'
matrix:
exclude:
# 3.0.x is not supported on MRI 2.0+
- rvm: 2.0.0
env: RAILS_VERSION='~> 3.0.20'
- rvm: 2.1
env: RAILS_VERSION='~> 3.0.20'
# 4.0.x is not supported on MRI ruby-1.8.7 or 1.9.2
- rvm: ruby-1.8.7
env: RAILS_VERSION='~> 4.0.4'
- rvm: 1.9.2
env: RAILS_VERSION='~> 4.0.4'
- rvm: ruby-1.8.7
env: RAILS_VERSION=4-0-stable
- rvm: 1.9.2
env: RAILS_VERSION=4-0-stable
# 4.1.x is not supported on MRI ruby-1.8.7 or 1.9.2
- rvm: ruby-1.8.7
env: RAILS_VERSION='~> 4.1.0'
- rvm: 1.9.2
env: RAILS_VERSION='~> 4.1.0'
- rvm: ruby-1.8.7
env: RAILS_VERSION=4-1-stable
- rvm: 1.9.2
env: RAILS_VERSION=4-1-stable
# master is not supported on MRI ruby-1.8.7 or 1.9.2
- rvm: ruby-1.8.7
env: RAILS_VERSION=master
- rvm: 1.9.2
env: RAILS_VERSION=master
allow_failures:
- env: RAILS_VERSION=master
# Until https://github.com/travis-ci/travis-ci/issues/2220 is fixed
- rvm: 2.1.0