rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.2
  - jruby-18mode
  - jruby-19mode
  - rbx
  - ree
gemfile: Gemfile
env:
  - MATHN=true RUBOCOP=false
  - MATHN=false RUBOCOP=false
branches:
  only:
    - master
    - stable
    - stable_3_2
notifications:
  irc: {channels: "irc.freenode.org#sass"}
matrix:
  allow_failures:
    - rvm: rbx
    - rvm: jruby-18mode
    - rvm: jruby-19mode
  include:
    - rvm: 2.1.2
      env: MATHN=true RUBOCOP=true
    - rvm: 2.0.0
      env: MATHN=true RUBOCOP=true
    - rvm: 1.9.3
      env: MATHN=true RUBOCOP=true

# As of 7 Jan 2014, RubyGems 2.2.0 was the default and was causing
# errors when running "bundle install" on master. We should remove
# this block once 2.2.0 is no longer the default.
before_install:
  - gem update --system 2.2.1

sudo: false
cache: bundler
rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - 2.0.0
  - 2.1.2
  - jruby-18mode
  - jruby-19mode
  - rbx
  - ree
gemfile: Gemfile
env:
  - MATHN=true RUBOCOP=false
  - MATHN=false RUBOCOP=false
branches:
  only:
    - master
    - stable
    - stable_3_2
notifications:
  irc: {channels: "irc.freenode.org#sass"}
matrix:
  allow_failures:
    - rvm: rbx
    - rvm: jruby-18mode
    - rvm: jruby-19mode
  include:
    - rvm: 2.1.2
      env: MATHN=true RUBOCOP=true
    - rvm: 2.0.0
      env: MATHN=true RUBOCOP=true
    - rvm: 1.9.3
      env: MATHN=true RUBOCOP=true

Configure Travis for better build performance
[TASK] Configure Travis for better build performance

* set sudo: false to allow usage of their new container-based infrastructure
* enable bundler caching
* remove the workaround for the broken RubyGems 2.2.0 on Travis
