mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
update for RubyGems 3.0
This commit is contained in:
parent
2db6d4d779
commit
7915afc340
1 changed files with 8 additions and 3 deletions
11
.travis.yml
11
.travis.yml
|
@ -3,10 +3,15 @@ sudo: false
|
|||
group: beta
|
||||
language: ruby
|
||||
cache: bundler
|
||||
|
||||
before_install:
|
||||
# https://github.com/travis-ci/travis-ci/issues/9383#issuecomment-377680108
|
||||
# recent versions of RubyGems include bundler
|
||||
- gem update --system
|
||||
# rubygems 2.7.8 and greater include bundler
|
||||
- |
|
||||
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')";
|
||||
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.8 --no-document
|
||||
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
|
||||
fi
|
||||
- ruby -v && gem --version && bundle version
|
||||
|
||||
rvm:
|
||||
- 2.2.10
|
||||
|
|
Loading…
Reference in a new issue