language: ruby
cache: bundler
bundler_args: --without development
before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake refinery:testing:dummy_app"
script:
  - "DISPLAY=:99.0 bundle exec rspec ./*/spec"
notifications:
  email: true
  irc:
    use_notice: true
    skip_join: true
    channels:
      - "irc.freenode.org#refinerycms"
  campfire:
    on_success: always
    on_failure: always
    rooms:
      - secure: "X5X39BTgXacSdc32F8mIjJKPqm5dZzmgZfJ14qYpJeMETTdA5JfByt2uCfU8\njJkkxT+XGWta0bSSlRIHQJO6pK26U94A95VYDX0jNuneKEnsoAsqJ6U0VY6v\nH5oxXMAZ2perP/FH9ZsPNR+ulyFfbMQCeGPJw5AXKZQqzf6qPOI="
  webhooks:
    - https://webhooks.gitter.im/e/b5d48907cdc89864b874
env:
  - DB=postgresql
  - DB=mysql
rvm:
  - 2.1
sudo: false
language: ruby
cache: bundler
bundler_args: --without development
before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake refinery:testing:dummy_app"
script:
  - "DISPLAY=:99.0 bundle exec rspec $EXTENSION/spec"
env:
  - DB=postgresql EXTENSION=authentication
  - DB=mysql EXTENSION=authentication
  - DB=postgresql EXTENSION=core
  - DB=mysql EXTENSION=core
  - DB=postgresql EXTENSION=dashboard
  - DB=mysql EXTENSION=dashboard
  - DB=postgresql EXTENSION=images
  - DB=mysql EXTENSION=images
  - DB=postgresql EXTENSION=pages
  - DB=mysql EXTENSION=pages
  - DB=postgresql EXTENSION=resources
  - DB=mysql EXTENSION=resources
notifications:
  email: true
  irc:
    use_notice: true
    skip_join: true
    channels:
      - "irc.freenode.org#refinerycms"
  campfire:
    on_success: always
    on_failure: always
    rooms:
      - secure: "X5X39BTgXacSdc32F8mIjJKPqm5dZzmgZfJ14qYpJeMETTdA5JfByt2uCfU8\njJkkxT+XGWta0bSSlRIHQJO6pK26U94A95VYDX0jNuneKEnsoAsqJ6U0VY6v\nH5oxXMAZ2perP/FH9ZsPNR+ulyFfbMQCeGPJw5AXKZQqzf6qPOI="
  webhooks:
    - https://webhooks.gitter.im/e/b5d48907cdc89864b874
rvm:
  - 2.1
sudo: false

Test each extension in parallel on CI.
Test each extension in parallel on CI.
