Skip to content

Commit

Permalink
Add MRI 2.4 plus frozen string literal check to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pat committed Jun 24, 2017
1 parent 5922e0a commit 8ff919b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ rvm:
- 2.1
- 2.2
- 2.3.0
- 2.4.1
- jruby-18mode
- jruby-19mode
- jruby-9.0.5.0
Expand All @@ -16,6 +17,9 @@ gemfile: ".travis/Gemfile"

sudo: false

before_script:
- if (ruby -e "exit RUBY_VERSION.to_f >= 2.4"); then export RUBYOPT="--enable-frozen-string-literal"; fi; echo $RUBYOPT

env:
global:
- VERBOSE=true
Expand Down

0 comments on commit 8ff919b

Please sign in to comment.