Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added travis ci configuration

  • Loading branch information...
commit 234f0f471b22b9221d8f07489c9c70d41d4d41e2 1 parent 8b90419
@gernotkogler gernotkogler authored
Showing with 22 additions and 1 deletion.
  1. +6 −0 .travis.yml
  2. +7 −1 Rakefile
  3. +9 −0 tasks/spec.rake
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: ruby
+rvm:
+ - 1.9.3
+notifications:
+ email:
+ - gernot@kogler-informatik.ch
View
8 Rakefile
@@ -1 +1,7 @@
-require 'bundler/gem_tasks'
+require "bundler/gem_tasks"
+
+import 'tasks/spec.rake'
+
+desc 'Default: run all specs'
+task :default => :spec
+
View
9 tasks/spec.rake
@@ -0,0 +1,9 @@
+require 'rspec/core/rake_task'
+
+namespace :spec do
+ RSpec::Core::RakeTask.new(:unit) do |t|
+ t.pattern = "spec/**/*_spec.rb"
+ end
+end
+
+task :spec => ['spec:unit']
Please sign in to comment.
Something went wrong with that request. Please try again.