mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00

JRuby 9.2.6.0 may have intermittent test failures, leave for now Co-authored-by: MSP-Greg <greg.mpls@gmail.com> Co-authored-by: guilleiguaran <guilleiguaran@gmail.com>
52 lines
1,010 B
YAML
52 lines
1,010 B
YAML
dist: xenial
|
|
language: ruby
|
|
cache: bundler
|
|
|
|
before_install:
|
|
# rubygems 2.7.8 and greater include bundler, leave 2.6.0 untouched
|
|
- |
|
|
r_eng="$(ruby -e 'STDOUT.write RUBY_ENGINE')";
|
|
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')";
|
|
if [ "$r_eng" == "ruby" ]; then
|
|
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.9 --no-document
|
|
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
|
|
fi
|
|
fi
|
|
- ruby -v && gem --version && bundle version
|
|
|
|
before_script:
|
|
- bundle exec rake compile
|
|
|
|
script:
|
|
- bundle exec rake
|
|
|
|
rvm:
|
|
- 2.2.10
|
|
- 2.3.8
|
|
- 2.4.5
|
|
- 2.5.5
|
|
- 2.6.2
|
|
- ruby-head
|
|
|
|
matrix:
|
|
fast_finish: true
|
|
include:
|
|
- rvm: ruby-head
|
|
env: RUBYOPT="--jit"
|
|
- rvm: 2.3.8
|
|
os: osx
|
|
- rvm: 2.5.5
|
|
os: osx
|
|
- rvm: jruby-9.2.6.0
|
|
- rvm: jruby-head
|
|
|
|
allow_failures:
|
|
- rvm: ruby-head
|
|
- rvm: ruby-head
|
|
env: RUBYOPT="--jit"
|
|
- rvm: jruby-9.2.6.0
|
|
- rvm: jruby-head
|
|
|
|
env:
|
|
global:
|
|
- TESTOPTS="-v"
|