Skip to content

Commit

Permalink
Add --enable-frozen-string-literal to travis-ci for ruby-2.3.
Browse files Browse the repository at this point in the history
This inverts the logic for travis-ci tests to make it easier to set
version specific env variables.
  • Loading branch information
larskanis committed Jan 25, 2017
1 parent 1e15aca commit 2231696
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,35 +3,41 @@ dist: trusty
group: beta
sudo: required

rvm:
- 2.0
- 2.1
- 2.2.5
- 2.3.1
- 2.4.0
- jruby-1.7
- jruby-9.1.5.0
- rbx-3

os:
- linux
- osx

matrix:
allow_failures:
# https://github.com/travis-ci/travis-ci/issues/5361
include:
- os: linux
rvm: 2.0
- os: osx
rvm: 2.0
- os: linux
rvm: 2.1
- os: osx
rvm: 2.1
- os: linux
rvm: 2.2.5
- os: osx
rvm: 2.2.5
- os: linux
rvm: 2.3.1
env:
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
- os: osx
rvm: 2.3.1
env:
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
- os: linux
rvm: rbx-3
exclude:
rvm: 2.4.0
env:
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
- os: osx
rvm: 2.4.0
env:
- RUBYOPT="--enable-frozen-string-literal --debug=frozen-string-literal"
- os: linux
rvm: jruby-1.7
- os: osx
- os: linux
rvm: jruby-9.1.5.0
- os: osx
- os: linux
rvm: rbx-3

notifications:
Expand Down

0 comments on commit 2231696

Please sign in to comment.