database:
  override:
    - cp config/database.yml.ci config/database.yml
    - bundle exec rake db:create db:schema:load db:migrate RAILS_ENV=test

deployment:
  staging:
    branch: staging
    commands:
      - bundle exec rake deploy_ha

database:
  override:
    - cp config/database.yml.ci config/database.yml
    - bundle exec rake db:create db:schema:load db:migrate RAILS_ENV=test

test:
  override:
    - bundle exec rspec
    - bundle exec haml-lint app/views/

deployment:
  staging:
    branch: staging
    commands:
      - bundle exec rake deploy_ha

Add HAML linting to the CI process
Add HAML linting to the CI process