From de8e750b0dcf3c8b8a779e4408ecdd3bc9ca6257 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Sat, 2 Jul 2011 00:56:27 -0700 Subject: [PATCH] Put it all in the travis yml file --- .travis.yml | 2 ++ lib/tasks/cruise.rake | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 73c13baf4..6fc098476 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,8 @@ rvm: before_script: - "sass --update public/stylesheets/sass/:public/stylesheets/" - "cp config/database.yml.example config/database.yml" + - "rake db:create" + - "rake db:schema:load" - "rspec spec --tag fixture" script: "bundle exec rake travis" diff --git a/lib/tasks/cruise.rake b/lib/tasks/cruise.rake index e49592d99..0c3ca3a9d 100644 --- a/lib/tasks/cruise.rake +++ b/lib/tasks/cruise.rake @@ -10,10 +10,7 @@ namespace :cruise do raise "db:migrate failed!" unless exit_status == 0 end - task :travis => ['db:create', 'db:schema:load'] do - debugger - Jammit.package! - debugger + task :travis do run_cruise end def run_cruise