1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/.travis.yml
2019-09-11 10:50:19 +00:00

73 lines
1.9 KiB
YAML

dist: xenial
env: OS="Xenial 16.04 OpenSSL 1.0.2"
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
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install ragel
fi
- ruby -v && gem --version && bundle version
before_script:
- if [ "$jit" == "yes" ]; then export RUBYOPT=--jit ; fi ; echo RUBYOPT is $RUBYOPT
- bundle exec rake compile
script:
- bundle exec rake
rvm:
- 2.2.10
- 2.3.8
- 2.4.7
- 2.5.6
- 2.6.4
- ruby-head
matrix:
fast_finish: true
include:
- rvm: 2.2.10
dist: trusty
env: OS="Trusty 14.04 OpenSSL 1.0.1"
- rvm: 2.6.4
dist: bionic
env: OS="Bionic 18.04 OpenSSL 1.1.1"
- rvm: ruby-head
env: jit=yes
- rvm: 2.4.6
os: osx
osx_image: xcode11
env: OS="osx xcode11"
- rvm: 2.5.6
os: osx
osx_image: xcode11
env: OS="osx xcode11"
- rvm: jruby-9.2.8.0
env: JRUBY_OPTS="--debug" JAVA_OPTS="--add-opens java.base/sun.nio.ch=org.jruby.dist --add-opens java.base/java.io=org.jruby.dist --add-opens java.base/java.util.zip=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.security.cert=ALL-UNNAMED --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.io=ALL-UNNAMED"
- rvm: jruby-head
dist: bionic
env: OS="Bionic 18.04"
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
env: jit=yes
- rvm: jruby-9.2.8.0
- rvm: jruby-head
dist: bionic
env: OS="Bionic 18.04"
env:
global:
- TESTOPTS="-v"