language: ruby
rvm:
  - 2.2
  - 2.0.0
  - 2.1
  - 1.9.3
  - rbx-2
  - jruby
env:
  - RAILS_VERSION="~>3.2"
  - RAILS_VERSION="~>4.0.0"
  - RAILS_VERSION="~>4.1.0"
  - RAILS_VERSION="~>4.2.0"
script: "bundle exec rake spec:all"
before_install:
 - sudo apt-get update
 - sudo apt-get install idn
notifications:
  email:
    recipients:
      - sbazyl@google.com
    on_success: change
    on_failure: change