Skip to content

Commit

Permalink
Travis CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed Aug 14, 2011
1 parent 14f223a commit d757d90
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
@@ -0,0 +1,11 @@
script: ruby test/runner.rb
rvm:
- 1.8.6
- 1.8.7
- 1.9.2
- 1.9.3
- jruby
- rbx
- rbx-2.0
- ree
- ruby-head
2 changes: 1 addition & 1 deletion readme.rdoc
@@ -1,4 +1,4 @@
=Events::Emitter
=Events::Emitter {<img src=https://travis-ci.org/matsadler/rb-event-emitter.png>}[http://travis-ci.org/matsadler/rb-event-emitter]

The Events::Emitter mixin provides a clone of the Node.js EventEmitter API for
Ruby.
Expand Down
2 changes: 1 addition & 1 deletion test/events_test.rb
@@ -1,5 +1,5 @@
require "test/unit"
require "../lib/events"
require File.expand_path("../../lib/events", __FILE__)
require "stringio"

class TestEvents < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/node_transliterated_test.rb
@@ -1,5 +1,5 @@
require "test/unit"
require "../lib/events"
require File.expand_path("../../lib/events", __FILE__)

# Tests transliterated from javascript originals at
# http://github.com/joyent/node/
Expand Down
1 change: 1 addition & 0 deletions test/runner.rb
@@ -0,0 +1 @@
Dir["**/*_test.rb"].each {|test| require File.expand_path(test)}

0 comments on commit d757d90

Please sign in to comment.