dist: trusty

language: ruby

before_install:
  - gem install bundler

cache:
  bundler: true

script: "bundle exec rspec && bundle exec cucumber"

rvm:
  - "1.9.2"
  - "1.9.3"
  - "2.0.0"
  - "2.1"
  - "2.2.8"
  - "2.3.5"
  - "2.4.2"

bundler_args: --without development

jobs:
  include:
    - stage: test
      rvm: "jruby-1.7.27"
      script: bundle exec rspec
    - stage: codestyle
      script: bundle exec rubocop
      rvm: "2.4.2"

stages:
  - codestyle
  - test

dist: trusty

language: ruby

before_install:
  - gem install bundler

cache:
  bundler: true

script: "bundle exec rspec && bundle exec cucumber"

rvm:
  - "1.9.2"
  - "1.9.3"
  - "2.0"
  - "2.1"
  - "2.2"
  - "2.3"
  - "2.4"
  - "2.5"

bundler_args: --without development

jobs:
  include:
    - stage: test
      rvm: "jruby-1.7.27"
      script: bundle exec rspec
    - stage: codestyle
      script: bundle exec rubocop
      rvm: "2.4.2"

stages:
  - codestyle
  - test

Test on all the latest Rubies
Test on all the latest Rubies
