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:
|
before_script:
|
||||||
- "sass --update public/stylesheets/sass/:public/stylesheets/"
|
- "sass --update public/stylesheets/sass/:public/stylesheets/"
|
||||||
- "cp config/database.yml.example config/database.yml"
|
- "cp config/database.yml.example config/database.yml"
|
||||||
|
- "rake db:create"
|
||||||
|
- "rake db:schema:load"
|
||||||
- "rspec spec --tag fixture"
|
- "rspec spec --tag fixture"
|
||||||
|
|
||||||
script: "bundle exec rake travis"
|
script: "bundle exec rake travis"
|
||||||
|
|
|
||||||
|
|
@ -10,10 +10,7 @@ namespace :cruise do
|
||||||
raise "db:migrate failed!" unless exit_status == 0
|
raise "db:migrate failed!" unless exit_status == 0
|
||||||
end
|
end
|
||||||
|
|
||||||
task :travis => ['db:create', 'db:schema:load'] do
|
task :travis do
|
||||||
debugger
|
|
||||||
Jammit.package!
|
|
||||||
debugger
|
|
||||||
run_cruise
|
run_cruise
|
||||||
end
|
end
|
||||||
def run_cruise
|
def run_cruise
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue