Skip to content

Commit 03b3a3c

Browse files
committed
Merge pull request #12 from rspec/travis_builds
Run travis build against RSpec 2-99-maintenance and master branches
2 parents 352b398 + e973254 commit 03b3a3c

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,15 @@ language: ruby
22
script: "script/test_all"
33
bundler_args: "--standalone --binstubs --without documentation"
44
rvm:
5-
- 1.8.7
6-
- 1.9.2
5+
- 2.1.0
6+
- 2.0.0
77
- 1.9.3
8+
- 1.9.2
9+
- 1.8.7
810
- ree
9-
- jruby-18mode
1011
- jruby-19mode
11-
- rbx-18mode
12-
- rbx-19mode
13-
- 2.0.0
14-
matrix:
15-
allow_failures:
16-
- rvm: rbx-19mode
17-
- rvm: rbx-18mode
12+
- jruby-18mode
13+
- rbx
14+
env:
15+
- BRANCH=master
16+
- BRANCH=2-99-maintenance

Gemfile

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,25 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
5+
%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
66
library_path = File.expand_path("../../#{lib}", __FILE__)
77
if File.exist?(library_path)
88
gem lib, :path => library_path
99
else
10-
gem lib, :git => "git://github.com/rspec/#{lib}.git", :branch => "2-99-maintenance" unless lib == 'rspec-support'
10+
gem lib, :git => "git://github.com/rspec/#{lib}.git",
11+
:branch => ENV.fetch('BRANCH',"master")
1112
end
1213
end
1314

15+
# only the master branche is supported on rspec-support
16+
gem "rspec-support", :git => "git://github.com/rspec/rspec-support.git"
17+
1418
gem "cucumber", "~> 1.1.9"
1519
gem "aruba", "~> 0.5"
1620
gem "rake", "~> 10.0.0"
1721

22+
platform :rbx do
23+
gem 'rubysl'
24+
end
25+
1826
eval File.read('Gemfile-custom') if File.exist?('Gemfile-custom')

0 commit comments

Comments
 (0)