Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis-CI support and a slight change to the rake task #381

Merged
merged 4 commits into from Nov 19, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions .travis.yml
@@ -0,0 +1,12 @@
script: rake compile test
language: ruby
rvm:
- 1.8.7
- 1.9.3
- rbx-18mode
- rbx-19mode
- jruby
matrix:
allow_failures:
- rvm: rbx-18mode
- rvm: rbx-19mode
11 changes: 9 additions & 2 deletions rakelib/package.rake
@@ -1,4 +1,11 @@
require 'rake/gempackagetask'
begin
require 'rubygems'
require 'rubygems/package_task'
rescue LoadError
require 'rake/packagetask'
require 'rake/gempackagetask'
end

begin
require 'rake/extensiontask'
require 'rake/javaextensiontask'
Expand All @@ -12,7 +19,7 @@ rake-compiler gem seems to be missing. Please install it with
MSG
end

Rake::GemPackageTask.new(GEMSPEC) do |pkg|
Rake::PackageTask.new(GEMSPEC, EventMachine::VERSION) do |pkg|
end

if RUBY_PLATFORM =~ /java/
Expand Down