sudo: false

language: ruby

cache:
  - bundler

bundler_args: --jobs 3 --retry 5 --without development --path vendor/bundle

rvm:
  - 2.1.10
  - 2.2.7
  - 2.3.4
  - 2.4.1
  - ruby-head
  - rbx-2

env:
  - COMPILER=gcc
  - COMPILER=clang

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-2

branches:
  only:
    - master

notifications:
  email:
    on_success: change
    on_failure: change

before_install:
  - export CC=$(which $COMPILER)

before_script:
  - bundle exec rake clean clobber

script:
  - bundle exec rake test

after_success:
  - bundle exec rake benchmark

sudo: false

language: ruby

cache:
  - bundler

bundler_args: --jobs 3 --retry 5 --without development --path vendor/bundle

rvm:
  - 2.1.10
  - 2.2.7
  - 2.3.5
  - 2.4.2
  - ruby-head
  - rbx-2

env:
  - COMPILER=gcc
  - COMPILER=clang

matrix:
  fast_finish: true
  allow_failures:
    - rvm: ruby-head
    - rvm: rbx-2

branches:
  only:
    - master

notifications:
  email:
    on_success: change
    on_failure: change

before_install:
  - export CC=$(which $COMPILER)

before_script:
  - bundle exec rake clean clobber

script:
  - bundle exec rake test

after_success:
  - bundle exec rake benchmark

Update Ruby version in Travis CI.
Update Ruby version in Travis CI.

Signed-off-by: Krzysztof Wilczynski <5f1c0be89013f8fde969a8dcb2fa1d522e94ee00@linux.com>
