Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added travis configuration

  • Loading branch information...
commit 6c2cc1cf9b3ea59c9a03c43e91059688551af746 1 parent 93ba2b7
Dmytro Shteflyuk authored
Showing with 16 additions and 11 deletions.
  1. +9 −0 .travis.yml
  2. +7 −11 Rakefile
9 .travis.yml
View
@@ -0,0 +1,9 @@
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - ree
+ - jruby
+
+notifications:
+ recipients:
+ - kpumuk@kpumuk.info
18 Rakefile
View
@@ -7,16 +7,12 @@ RSpec::Core::RakeTask.new(:spec)
task :test => :spec
task :default => :spec
-begin
- require 'yard'
- YARD::Rake::YardocTask.new(:yard) do |t|
- t.options = ['--title', 'MetaTags Documentation']
- if ENV['PRIVATE']
- t.options.concat ['--protected', '--private']
- else
- t.options.concat ['--protected', '--no-private']
- end
+require 'yard'
+YARD::Rake::YardocTask.new(:yard) do |t|
+ t.options = ['--title', 'MetaTags Documentation']
+ if ENV['PRIVATE']
+ t.options.concat ['--protected', '--private']
+ else
+ t.options.concat ['--protected', '--no-private']
end
-rescue LoadError
- puts 'Yard not available. Install it with: sudo gem install yard'
end
Please sign in to comment.
Something went wrong with that request. Please try again.