language: ruby
matrix:
  include:
    - rvm: 2.4.1 # Test web AND cli with specific version
      gemfile: Gemfile
    # Otherwise test only the cli
    - rvm: 2.3
      gemfile: lib/vimgolf/Gemfile

services:
  - mongodb
before_install:
    - ls -l /home/travis/.rvm/gems # Future reference, targets for quick build
    - cd `dirname $BUNDLE_GEMFILE`
    - pwd # For debug info
    - gem install -v 1.16.2 bundler # Travis's Bundler 1.7.6 is causing problems
script: bundle exec rake
addons:
  apt:
    sources:
      - mongodb-2.6-precise
  code_climate:
    repo_token: 87b58d792ac24c87c9eb7957aa3fe7e05f72f800619452853270ed6a8f5b3853
after_success:
    - bundle exec codeclimate-test-reporter

language: ruby
matrix:
  include:
    - rvm: 2.6.6 # Test web AND cli with specific version
      gemfile: Gemfile
    # Otherwise test only the cli
    - rvm: 2.3
      gemfile: lib/vimgolf/Gemfile

services:
  - mongodb
before_install:
    - ls -l /home/travis/.rvm/gems # Future reference, targets for quick build
    - cd `dirname $BUNDLE_GEMFILE`
    - pwd # For debug info
    - gem install -v 1.16.2 bundler # Travis's Bundler 1.7.6 is causing problems
script: bundle exec rake
addons:
  apt:
    sources:
      - mongodb-2.6-precise
  code_climate:
    repo_token: 87b58d792ac24c87c9eb7957aa3fe7e05f72f800619452853270ed6a8f5b3853
after_success:
    - bundle exec codeclimate-test-reporter

Update Travis-CI config to use Ruby 2.6.6 to test webapp
Update Travis-CI config to use Ruby 2.6.6 to test webapp
