test:
  pre:
    - bundle exec rubocop
  override:
    - bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml

dependencies:
  override:
    - 'rvm-exec 2.1.7 bundle install'
    - 'rvm-exec 2.2.3 bundle install'
    - 'rvm-exec 2.3.0 bundle install'

test:
  override:
    - 'rvm-exec 2.1.7 bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml'
    - 'rvm-exec 2.1.7 bundle exec rubocop'
    - 'rvm-exec 2.2.3 bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml'
    - 'rvm-exec 2.2.3 bundle exec rubocop'
    - 'rvm-exec 2.3.0 bundle exec rspec -r rspec_junit_formatter --format RspecJunitFormatter -o $CIRCLE_TEST_REPORTS/rspec/junit.xml'
    - 'rvm-exec 2.3.0 bundle exec rubocop'

Add testing for Ruby 2.3, 2.2, and 2.1
Add testing for Ruby 2.3, 2.2, and 2.1
