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

61 lines
2 KiB
YAML
Raw Normal View History

dist: bionic
2012-06-22 18:14:53 -04:00
language: ruby
2015-05-26 06:11:47 -04:00
cache: bundler
2018-12-19 23:35:27 -05:00
2016-11-20 11:20:20 -05:00
before_install:
2019-02-20 14:44:14 -05:00
# rubygems 2.7.8 and greater include bundler, leave 2.6.0 untouched
2018-12-19 23:35:27 -05:00
- |
r_eng="$(ruby -e 'STDOUT.write RUBY_ENGINE')";
2018-12-19 23:35:27 -05:00
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')";
if [ "$r_eng" == "ruby" ]; then
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.10 --no-document
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
fi
2018-12-19 23:35:27 -05:00
fi
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update
brew install ragel
fi
2018-12-19 23:35:27 -05:00
- ruby -v && gem --version && bundle version
2019-02-20 14:44:14 -05:00
before_script:
2019-07-09 17:42:38 -04:00
- if [ "$jit" == "yes" ]; then export RUBYOPT=--jit ; fi ; echo RUBYOPT is $RUBYOPT
2019-02-20 14:44:14 -05:00
- bundle exec rake compile
script:
- bundle exec rake
matrix:
fast_finish: true
include:
- rvm: 2.2.10
dist: trusty
env:
- OS="Trusty 14.04 OpenSSL 1.0.1"
- RUBYOPT=""
2019-11-04 17:15:47 -05:00
- rvm: jruby-9.2.9.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
2019-11-04 17:15:47 -05:00
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: ruby-head
2018-05-10 08:02:50 -04:00
- rvm: ruby-head
2019-07-09 17:42:38 -04:00
env: jit=yes
2019-11-04 17:15:47 -05:00
- rvm: truffleruby
allow_failures:
2019-11-04 17:15:47 -05:00
- rvm: jruby-9.2.9.0
- rvm: jruby-head
- rvm: ruby-head
- rvm: ruby-head
env: jit=yes
- rvm: truffleruby
env:
global:
- TESTOPTS="-v"
2019-09-20 06:14:19 -04:00
- RUBYOPT="--enable-frozen-string-literal"