before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake test_app"
env:
  - DB=sqlite
  - DB=mysql
  - DB=postgres
script:
  - "export DISPLAY=:99.0"
  - "alias set_gemfile='export BUNDLE_GEMFILE=\"`pwd`/Gemfile\"'"
  - "cd api; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../core; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../dash; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../promo; set_gemfile; bundle install --quiet; bundle exec rspec spec"

notifications:
  email:
    - ryan@spreecommerce.com
  irc:
    use_notice: true
    skip_join: true
    channels:
      - "irc.freenode.org#spree"
rvm:
  - 1.9.3
  - 2.0.0-preview1

matrix:
  allow_failures:
    - rvm: 2.0.0-preview1

before_script:
  - "sh -e /etc/init.d/xvfb start"
  - "bundle exec rake test_app"
env:
  - DB=sqlite
  - DB=mysql
  - DB=postgres
script:
  - "export DISPLAY=:99.0"
  - "alias set_gemfile='export BUNDLE_GEMFILE=\"`pwd`/Gemfile\"'"
  - "cd api; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../core; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../dash; set_gemfile; bundle install --quiet; bundle exec rspec spec"
  - "cd ../promo; set_gemfile; bundle install --quiet; bundle exec rspec spec"

notifications:
  email:
    - ryan@spreecommerce.com
  irc:
    use_notice: true
    skip_join: true
    channels:
      - "irc.freenode.org#spree"
rvm:
  - 1.9.3
Revert last change. Let's focus on 1.9.3 since 2.0.0 is still preview anyways.
Revert last change.  Let's focus on 1.9.3 since 2.0.0 is still preview anyways.
