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