Skip to content

Commit

Permalink
Merge pull request maxdemarzi#63 from kfreytag/master
Browse files Browse the repository at this point in the history
Restoring spec task and adding ci_spec.
  • Loading branch information
Kurt Freytag committed Nov 15, 2013
2 parents 470dfc5 + 84fb2fe commit 958db1b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 82 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.idea
.rvmrc
.DS_Store
deja_test.rb
test.rb
neo4j
Gemfile.server.lock
78 changes: 0 additions & 78 deletions Gemfile.server.lock

This file was deleted.

13 changes: 10 additions & 3 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,15 @@ Bundler::GemHelper.install_tasks

$: << File.expand_path("#{File.dirname(__FILE__)}/lib")

RSpec::Core::RakeTask.new('spec')
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = "--color --format documentation"
t.pattern = "spec/**/*_spec.rb"
end

desc "Run Tests"
task :spec => 'ci:setup:rspec'
desc 'Run Tests'
task :default => :spec

RSpec::Core::RakeTask.new('ci_spec')

desc 'Run Koality Tests'
task :ci_spec => 'ci:setup:rspec'
2 changes: 1 addition & 1 deletion koality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ test:
machines: 1
scripts:
- tests:
script: BUNDLE_GEMFILE=Gemfile.server rake
script: BUNDLE_GEMFILE=Gemfile.server rake ci_spec
timeout: 1800
xunit: spec/reports

0 comments on commit 958db1b

Please sign in to comment.