Fix spec task and add .travis.yml - reportable - Unnamed repository; edit this … | |
Log | |
Files | |
Refs | |
README | |
--- | |
commit 9dcbbc9188b7f1749a7997cff911484d8cc84f24 | |
parent 0afe9dbd5fb5cf6f67e834bea55b61e0a15223c9 | |
Author: Martin Kavalar <[email protected]> | |
Date: Thu, 25 Oct 2012 15:23:19 +0200 | |
Fix spec task and add .travis.yml | |
Diffstat: | |
A .travis.yml | 4 ++++ | |
M Rakefile | 10 +++------- | |
2 files changed, 7 insertions(+), 7 deletions(-) | |
--- | |
diff --git a/.travis.yml b/.travis.yml | |
@@ -0,0 +1,4 @@ | |
+language: ruby | |
+rvm: | |
+ - 1.9.3 | |
+script: "rake spec" | |
diff --git a/Rakefile b/Rakefile | |
@@ -4,15 +4,14 @@ require 'bundler' | |
Bundler.setup | |
Bundler.require | |
-require 'spec/rake/spectask' | |
-require 'simplabs/excellent/rake' | |
+require "rspec/core/rake_task" | |
+ | |
desc 'Default: run specs.' | |
task :default => :spec | |
desc 'Run the specs' | |
-Spec::Rake::SpecTask.new(:spec) do |t| | |
- t.spec_files = FileList['spec/**/*_spec.rb'] | |
+RSpec::Core::RakeTask.new(:spec) do |spec| | |
end | |
YARD::Rake::YardocTask.new(:doc) do |t| | |
@@ -20,6 +19,3 @@ YARD::Rake::YardocTask.new(:doc) do |t| | |
t.options = ['--no-private', '--title', 'Reportable Documentation'] | |
end | |
-Simplabs::Excellent::Rake::ExcellentTask.new(:excellent) do |t| | |
- t.paths = %w(lib) | |
-end |