before_install:
  - "echo '--colour' > ~/.rspec"
  - "echo 'gem: --no-document' > ~/.gemrc"
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
before_script:
  - cp .sample.env .env
  <% if options[:database] == 'postgresql' %>
  - psql -c 'create database "<%= app_name %>_test";' -U postgres
  <% end %>
branches:
  only:
    - master
cache:
  - bundler
language:
  - ruby
notifications:
  campfire:
    on_failure:
      - always
    on_success:
      - change
    template:
      - '(%{branch} - %{author}): %{message} - %{build_url}'
  email:
    - false
rvm:
  - <%= Suspenders::RUBY_VERSION %>
addons:
  postgresql: "9.3"

before_install:
  - "echo '--colour' > ~/.rspec"
  - "echo 'gem: --no-document' > ~/.gemrc"
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
before_script:
  - cp .sample.env .env
  <% if options[:database] == 'postgresql' %>
  - psql -c 'create database "<%= app_name %>_test";' -U postgres
  <% end %>
branches:
  only:
    - master
cache:
  - bundler
language:
  - ruby
notifications:
  email:
    - false
rvm:
  - <%= Suspenders::RUBY_VERSION %>
addons:
  postgresql: "9.3"

Remove Campfire in favor of Slack
Remove Campfire in favor of Slack

We don't need a placeholder for Slack because we'll typically add it using the
CLI:

    travis encrypt "thoughtbot:123abc" --add notifications.slack

http://blog.travis-ci.com/2014-03-13-slack-notifications/
