Put it all in the travis yml file

This commit is contained in:
Raphael Sofaer 2011-07-02 00:56:27 -07:00
parent 3baf433b3a
commit de8e750b0d
2 changed files with 3 additions and 4 deletions

View file

@ -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"

View file

@ -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