Put it all in the travis yml file
This commit is contained in:
parent
3baf433b3a
commit
de8e750b0d
2 changed files with 3 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue