language: ruby
rvm:
- 1.9.3
addons:
  postgresql: '9.1'
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- cp config/database.yml.travis config/database.yml
script: bundle exec rake
deploy:
  provider: heroku
  api_key:
    secure: Mh5IwVSTucNXGx76lD/te6lo0DFo34sYizmTYSGlv2xipdD+4+zfRrJ4C1z/qby/VObvJ71doPOSQAqHHE81RXtDe0fZLBWHSmfLwZqtvEusQwrzmyzRfld4IBdOcOowV0BDt5h6VSjMR1k2LvpQsWESk6+Ow1rHd6/90AbhsGA=
  app:
    master: erp-production
    staging: erp-staging-1
  run:
  - rake db:migrate
  - restart
notifications:
  slack:
    secure: JN7vxNttbCUeCcE2f9lNVKGV0T9ApcHN5oH4Dzld1fGIrTPEvbf/aRhMjYM8/cJgNJHBdhcTQYARFgwY5SBLnE3k0AHXkmkcKFVY1S89jYln4F+BEr7H1KNPs42eLNwl4X6sBF7y+ja26KSef7+leM7xmT+Gj80aLU99o/S899A=

language: ruby
rvm:
- 1.9.3
addons:
  postgresql: '9.1'
before_script:
- psql -c 'create database travis_ci_test;' -U postgres
- cp config/database.yml.travis config/database.yml
script: bundle exec rake && bundle exec rspec
deploy:
  provider: heroku
  api_key:
    secure: Mh5IwVSTucNXGx76lD/te6lo0DFo34sYizmTYSGlv2xipdD+4+zfRrJ4C1z/qby/VObvJ71doPOSQAqHHE81RXtDe0fZLBWHSmfLwZqtvEusQwrzmyzRfld4IBdOcOowV0BDt5h6VSjMR1k2LvpQsWESk6+Ow1rHd6/90AbhsGA=
  app:
    master: erp-production
    staging: erp-staging-1
  run:
  - rake db:migrate
  - restart
notifications:
  slack:
    secure: JN7vxNttbCUeCcE2f9lNVKGV0T9ApcHN5oH4Dzld1fGIrTPEvbf/aRhMjYM8/cJgNJHBdhcTQYARFgwY5SBLnE3k0AHXkmkcKFVY1S89jYln4F+BEr7H1KNPs42eLNwl4X6sBF7y+ja26KSef7+leM7xmT+Gj80aLU99o/S899A=

Add rspec to the testing script.
Add rspec to the testing script.

Signed-off-by: Siddharth Kannan <805f056820c7a1cecc4ab591b8a0a604b501a0b7@gmail.com>
