This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if CruiseControl::invoke_rake_task 'spec' | |
| puts "Pushing on heroku... [Start]" | |
| `git push heroku master` | |
| puts "Pushed on heroku. [Done]" | |
| puts "Running migrations... [Start]" | |
| `heroku rake db:migrate` | |
| puts "Migrated... [Done]" | |
| puts "Prepare test db... [Start]" | |
| `heroku rake db:test:prepare` | |
| puts "Test database ready [Done]" |