Skip to content

Commit

Permalink
Try testing against rdoc master /cc rails#80
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Mar 14, 2016
1 parent 070a41b commit f013727
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
before_install: gem install bundler
before_script: bundle exec rake rdoc_master
rvm:
- 1.8.7
- 1.9.3
Expand All @@ -10,6 +11,17 @@ rvm:
- ruby-head
- jruby-19mode
- jruby-head
matrix:
include:
- { rvm: 1.8.7, env: rdoc=master }
- { rvm: 1.9.3, env: rdoc=master }
- { rvm: 2.0.0, env: rdoc=master }
- { rvm: 2.1.0, env: rdoc=master }
- { rvm: 2.2.0, env: rdoc=master }
- { rvm: 2.3.0, env: rdoc=master }
- { rvm: ruby-head, env: rdoc=master }
- { rvm: jruby-19mode, env: rdoc=master }
- { rvm: jruby-head, env: rdoc=master }
notifications:
email:
- mail@zzak.io
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ gemspec

gem "rake", "< 11"
gem "minitest"

gem "hoe"
13 changes: 13 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@ end

task :default => :test
task :spec => :test

task :rdoc_master do
if ENV["rdoc"]="master"
puts "Testing against rdoc master, please wait for install.."
sh "git clone --depth=1 https://github.com/rdoc/rdoc" unless Dir.exists?("rdoc")
cd "rdoc" do
sh "rake"
sh "rake install_gem"
end
else
puts "Testing against bundled rdoc.."
end
end

0 comments on commit f013727

Please sign in to comment.