rvm:
  - 2.1.0
cache:
  - bundler
notifications:
  email:
    - dalibor.nasevic@gmail.com
gemfile:
  - gemfiles/rails3.1.gemfile
  - gemfiles/rails3.2.gemfile
  - gemfiles/rails4.0.gemfile
  - gemfiles/rails4.1.gemfile
  - gemfiles/rails4.2.gemfile
  - gemfiles/rails5.0.gemfile
before_script:
  - cp spec/support/config.yml.travis spec/support/config.yml
  - bundle exec rake db:create
script:
  - bundle exec rspec spec

rvm:
  - 2.2.2
cache:
  - bundler
notifications:
  email:
    - dalibor.nasevic@gmail.com
gemfile:
  - gemfiles/rails3.1.gemfile
  - gemfiles/rails3.2.gemfile
  - gemfiles/rails4.0.gemfile
  - gemfiles/rails4.1.gemfile
  - gemfiles/rails4.2.gemfile
  - gemfiles/rails5.0.gemfile
before_script:
  - cp spec/support/config.yml.travis spec/support/config.yml
  - bundle exec rake db:create
script:
  - bundle exec rspec spec

Change Ruby version to 2.2.2 for Travis CI
Change Ruby version to 2.2.2 for Travis CI
