Permalink
Browse files

Travis.

  • Loading branch information...
oggy committed May 21, 2012
1 parent f659026 commit 85aa2d496025799b26a034004167f7403aaf1422
Showing with 32 additions and 0 deletions.
  1. +13 −0 .travis.yml
  2. +15 −0 Gemfile
  3. +4 −0 Rakefile
View
@@ -0,0 +1,13 @@
+language: ruby
+bundler_args: --without dev
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - 1.9.3
+ - jruby-18mode
+ - jruby-19mode
+ - rbx-18mode
+ - rbx-19mode
+ - ruby-head
+ - jruby-head
+ - ree
View
15 Gemfile
@@ -1,2 +1,17 @@
source :rubygems
gemspec
+
+group :dev do
+ case (RUBY_ENGINE rescue nil)
+ when 'jruby'
+ gem 'ruby-debug'
+ when 'rbx'
+ # Debugger is built-in.
+ else
+ if RUBY_VERSION >= '1.9'
+ gem 'debugger', :require => 'ruby-debug'
+ else
+ gem 'ruby-debug'
+ end
+ end
+end
View
@@ -7,3 +7,7 @@ else
name = ruby_engine == 'ruby' ? 'mri' : ruby_engine
extension :build_as => "ext/#{name}", :install_as => "lib/looksee/#{name}"
end
+
+task :default => [:clobber, :ext] do
+ sh 'bundle exec rspec -I. spec'
+end

0 comments on commit 85aa2d4

Please sign in to comment.