language: ruby
rvm:
- 2.2.8
- 2.3.5
- 2.4.2
- jruby-9.1.14.0
env:
  global:
  - SPHINX_BIN=ext/sphinx/bin/
  - secure: aP3wCZnnqim/yBWbO8+N2DAJIDVuqewUayK3nBphR/Jt1POIMbqCIuHwk/SG/JfMc6pJIlH0QOX8wI3fF3y5GO6aIrN8xKAX0DoDm+Gkvk/YEk3cK/2fJUwvocR89M99EoV8ctLPaR03B3dm3h2Dh2oe8NQRBfcrL3WtiHHq3d0=
  matrix:
  - SPHINX_VERSION=2.0.10
  - SPHINX_VERSION=2.1.9
  - SPHINX_VERSION=2.2.6
before_script:
- killall searchd; echo ''
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal";
  fi; echo $RUBYOPT
- "./bin/loadsphinx $SPHINX_VERSION"
after_script:
- killall searchd; echo ''
sudo: false

language: ruby
rvm:
- 2.2.9
- 2.3.6
- 2.4.3
- 2.5.0
- jruby-9.1.14.0
env:
  global:
  - SPHINX_BIN=ext/sphinx/bin/
  - secure: aP3wCZnnqim/yBWbO8+N2DAJIDVuqewUayK3nBphR/Jt1POIMbqCIuHwk/SG/JfMc6pJIlH0QOX8wI3fF3y5GO6aIrN8xKAX0DoDm+Gkvk/YEk3cK/2fJUwvocR89M99EoV8ctLPaR03B3dm3h2Dh2oe8NQRBfcrL3WtiHHq3d0=
  matrix:
  - SPHINX_VERSION=2.0.10
  - SPHINX_VERSION=2.1.9
  - SPHINX_VERSION=2.2.6
before_script:
- killall searchd; echo ''
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal";
  fi; echo $RUBYOPT
- "./bin/loadsphinx $SPHINX_VERSION"
after_script:
- killall searchd; echo ''
sudo: false

Update tested Rubies, add 2.5.0.
Update tested Rubies, add 2.5.0.
