diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2017-07-07 08:39:43 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2017-07-07 08:39:43 +0200 |
commit | e94b1a91ce85306622f03996792d3665a675d69d (patch) | |
tree | aa9ecc45e2a1bc76537f9c092106ed580b75891f /.travis.yml | |
parent | 457ffbf3ee02b1b6f57eacb33df44c80f4bf9d71 (diff) | |
download | coderay-e94b1a91ce85306622f03996792d3665a675d69d.tar.gz |
ensure that all string literals can be frozen
(thanks, @pat)
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 75a57bb..a486c23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ rvm: branches: only: - master +before_script: +- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT matrix: allow_failures: - rvm: ruby-head |