---
language: ruby
sudo: false
rvm: 2
cache:
  bundler: true
  directories:
    - bower_components
    - node_modules

before_install:
  - gem install bundler
  - nvm install
  - 'echo ''gem: --no-document'' > ~/.gemrc'

before_script:
  - npm install

---
language: ruby
sudo: false
rvm: 2.3.1
cache:
  bundler: true
  directories:
    - bower_components
    - node_modules

before_install:
  - gem install bundler
  - nvm install
  - 'echo ''gem: --no-document'' > ~/.gemrc'

before_script:
  - npm install

Use Ruby 2.3.1 on Travis
Use Ruby 2.3.1 on Travis
