sudo: false
language: ruby
rvm:
  - 2.4.0
  - 2.3.3
  - 2.2.6
  - ruby-head
env:
  - RUST=yes
  - RUST=no

matrix:
  allow_failures:
  - rvm: ruby-head

before_install:
  - if [[ "$RUST" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable; export PATH="$HOME/.cargo/bin:$PATH"; fi

script:
  - if [[ "$RUST" == "yes" ]]; then bundle exec rake SPEC_OPTS="--format p"; else bundle exec rake spec SPEC_OPTS="--format p"; fi

addons:
  code_climate:
    repo_token: b4319eb676f021fb9473aa342324abd74f58d146e174f3cdf57f103bab052f25

sudo: false
language: ruby
rvm:
  - 2.4.1
  - 2.3.4
  - 2.2.7
  - ruby-head
env:
  - RUST=yes
  - RUST=no

matrix:
  allow_failures:
  - rvm: ruby-head

before_install:
  - if [[ "$RUST" == "yes" ]]; then curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable; export PATH="$HOME/.cargo/bin:$PATH"; fi

script:
  - if [[ "$RUST" == "yes" ]]; then bundle exec rake SPEC_OPTS="--format p"; else bundle exec rake spec SPEC_OPTS="--format p"; fi

addons:
  code_climate:
    repo_token: b4319eb676f021fb9473aa342324abd74f58d146e174f3cdf57f103bab052f25

Use latest Ruby patch releases for Travis CI
Use latest Ruby patch releases for Travis CI
