language: ruby
cache: bundler

os:
  - linux

rvm:
  - 2.0.0
  - 2.1.8
  - 2.2.5
  - 2.3.3
  - 2.4.0
  - 2.5.0
  - ruby-head
  - rbx-2

addons:
  apt:
    packages:
    - cmake
    - libssh2-1-dev
    - openssh-client
    - openssh-server

sudo: required

matrix:
  fast_finish: true
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
  include:
    - os: osx
      rvm: 2.0.0
    - os: osx
      rvm: 2.1.5
    - os: osx
      rvm: 2.2.2
    - os: osx
      rvm: rbx-2

git:
  submodules: false

before_install:
  - git submodule update --init
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./vendor/libgit2/script/install-deps-osx.sh; fi

script: script/travisbuild

language: ruby
cache: bundler

os:
  - linux

rvm:
  - 2.0.0
  - 2.1.8
  - 2.2.5
  - 2.3.3
  - 2.4.0
  - ruby-head
  - rbx-2

addons:
  apt:
    packages:
    - cmake
    - libssh2-1-dev
    - openssh-client
    - openssh-server

sudo: required

matrix:
  fast_finish: true
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
  include:
    - os: osx
      rvm: 2.0.0
    - os: osx
      rvm: 2.1.5
    - os: osx
      rvm: 2.2.2
    - os: osx
      rvm: rbx-2

git:
  submodules: false

before_install:
  - git submodule update --init
  - if [ "$TRAVIS_OS_NAME" = "osx" ]; then ./vendor/libgit2/script/install-deps-osx.sh; fi

script: script/travisbuild

Revert "Run CI against Ruby 2.5.0."
Revert "Run CI against Ruby 2.5.0."

This reverts commit 6b335ebbc8e975e51d450701d1d3a819e1d01ed8.
