Permalink
Browse files

Try to see if we can convince the tests to work this way too, no hax.

  • Loading branch information...
1 parent 1487a05 commit f6ccb71a46d430d7beb126217e061396c90aab14 @envygeeks envygeeks committed Feb 29, 2012
Showing with 15 additions and 11 deletions.
  1. +8 −8 .travis.yml
  2. +7 −3 Rakefile
View
@@ -13,11 +13,11 @@ branches:
only:
- master
-script: rake test --trace
-
-before_install:
- - gem update --system
- - gem --version
- - gem install rake bacon
- - rake gem
- - gem install pkg/*.gem
+#script: rake test --trace
+#
+#before_install:
+# - gem update --system
+# - gem --version
+# - gem install rake bacon
+# - rake gem
+# - gem install pkg/*.gem
View
@@ -1,5 +1,6 @@
dlext = RbConfig::CONFIG['DLEXT']
direc = File.dirname(__FILE__)
+require 'rake/extensiontask'
$:.unshift 'lib'
@@ -24,8 +25,9 @@ def apply_spec_defaults(s)
s.email = 'jrmair@gmail.com'
s.description = s.summary
s.require_path = 'lib'
- s.add_development_dependency("bacon","~>1.1")
- s.add_development_dependency('rake', '~> 0.9')
+ s.add_development_dependency('bacon')
+ s.add_development_dependency('rake')
+ s.add_development_dependency('rake-compiler')
s.homepage = "http://github.com/banister/binding_of_caller"
s.has_rdoc = 'yard'
s.files = `git ls-files`.split("\n")
@@ -38,11 +40,13 @@ task :version do
end
desc "run tests"
-task :default => :test
+task :default => [:test]
desc "Run tests"
task :test do
+ Rake::Task['compile'].execute
sh "bacon -Itest -rubygems -a -q"
+ Rake::Task['clean'].execute
end
task :pry do

0 comments on commit f6ccb71

Please sign in to comment.