box: wercker/rvm

services:
  - wercker/postgresql

build:
  steps:
    - bundle-install
    - rails-database-yml
    - script:
        name: echo ruby information
        code: |
          echo "ruby version $(ruby --version) running"
          echo "from location $(which ruby)"
          echo -p "gem list: $(gem list)"
    - script:
        name: Set up db
        code: bundle exec rake db:schema:load RAILS_ENV=test
    - script:
        name: rspec
        code: bundle exec rspec
  after-steps:
        - wantedly/pretty-slack-notify:
            webhook_url: $SLACK_WEBHOOK_URL

deploy:
  steps:
    - heroku-deploy:
            key-name:

box: wercker/rvm

services:
  - wercker/postgresql

build:
  steps:
    - bundle-install
    - rails-database-yml
    - script:
        name: echo ruby information
        code: |
          echo "ruby version $(ruby --version) running"
          echo "from location $(which ruby)"
          echo -p "gem list: $(gem list)"
    - script:
        name: Set up db
        code: bundle exec rake db:schema:load RAILS_ENV=test
    - script:
        name: rspec
        code: bundle exec rspec
  after-steps:
        - wantedly/pretty-slack-notify:
            webhook_url: $SLACK_WEBHOOK_URL

Remove step for auto deploy
Remove step for auto deploy
