2019-02-20 14:44:14 -05:00
|
|
|
dist: xenial
|
2019-07-09 17:42:38 -04:00
|
|
|
env: OS="Xenial 16.04 OpenSSL 1.0.2"
|
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
|
|
|
- |
|
2019-03-07 11:14:03 -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')";
|
2019-03-07 11:14:03 -05:00
|
|
|
if [ "$r_eng" == "ruby" ]; then
|
2019-06-14 15:00:54 -04:00
|
|
|
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.9 --no-document
|
|
|
|
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
|
2019-03-07 11:14:03 -05:00
|
|
|
fi
|
2018-12-19 23:35:27 -05:00
|
|
|
fi
|
2019-04-24 04:17:58 -04:00
|
|
|
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
|
2018-08-21 21:11:18 -04:00
|
|
|
|
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
|
|
|
|
|
2011-11-22 19:28:57 -05:00
|
|
|
rvm:
|
2019-06-14 15:00:54 -04:00
|
|
|
- 2.2.10
|
2015-12-16 17:13:06 -05:00
|
|
|
- ruby-head
|
2018-08-21 21:11:18 -04:00
|
|
|
|
2013-07-02 12:32:58 -04:00
|
|
|
matrix:
|
2014-01-25 16:31:26 -05:00
|
|
|
fast_finish: true
|
2018-04-12 08:46:08 -04:00
|
|
|
include:
|
2019-08-06 12:49:43 -04:00
|
|
|
- rvm: 2.2.10
|
|
|
|
dist: trusty
|
2019-07-09 17:42:38 -04:00
|
|
|
env: OS="Trusty 14.04 OpenSSL 1.0.1"
|
2019-08-28 11:31:46 -04:00
|
|
|
- rvm: 2.6.4
|
2019-07-09 17:42:38 -04:00
|
|
|
dist: bionic
|
|
|
|
env: OS="Bionic 18.04 OpenSSL 1.1.1"
|
2018-04-12 08:46:08 -04:00
|
|
|
- rvm: ruby-head
|
2019-07-09 17:42:38 -04:00
|
|
|
env: jit=yes
|
2019-08-16 17:33:41 -04:00
|
|
|
- rvm: jruby-9.2.8.0
|
2019-04-20 01:06:59 -04: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"
|
2019-09-30 05:32:13 -04:00
|
|
|
dist: bionic
|
|
|
|
env: OS="Bionic 18.04"
|
2015-05-18 23:01:22 -04:00
|
|
|
- rvm: jruby-head
|
2019-08-06 12:49:43 -04:00
|
|
|
dist: bionic
|
|
|
|
env: OS="Bionic 18.04"
|
2019-02-20 14:44:14 -05:00
|
|
|
|
2018-08-21 21:11:18 -04:00
|
|
|
allow_failures:
|
2015-12-16 17:13:06 -05:00
|
|
|
- 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-09-30 05:31:06 -04:00
|
|
|
- rvm: jruby-9.2.8.0
|
2019-09-30 05:32:13 -04:00
|
|
|
dist: bionic
|
|
|
|
env: OS="Bionic 18.04"
|
2018-08-21 21:11:18 -04:00
|
|
|
- rvm: jruby-head
|
2019-08-06 12:49:43 -04:00
|
|
|
dist: bionic
|
|
|
|
env: OS="Bionic 18.04"
|
2018-08-21 21:11:18 -04:00
|
|
|
|
2017-09-18 20:42:06 -04:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- TESTOPTS="-v"
|
2019-09-20 06:14:19 -04:00
|
|
|
- RUBYOPT="--enable-frozen-string-literal"
|