summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichael Herold <michael.j.herold@gmail.com>2015-04-18 18:38:08 -0500
committerMichael Herold <michael.j.herold@gmail.com>2015-04-18 19:31:06 -0500
commit35756e1641b6ab31b16951d0bd42e3abe5eb9e55 (patch)
tree2372da19fc5c89de4f842e6742ade128e056648d /.travis.yml
parentad6b08cb52e3b96d346f51c486b01fc67ca6c150 (diff)
downloadhashie-35756e1641b6ab31b16951d0bd42e3abe5eb9e55.tar.gz
Add a conditional check for 2.2.x specs
This adds a way to handle the broken spec in MRI 2.2.x that was introduced by a regression in the language. It is slated to be in 2.3.0 and seems partially fixed in 2.2.2. In order to have the full spec suite run on every version of Ruby but keep the brevity of the Mash specs, we needed a way to check for the Ruby version and selectively disable the two errant specs. We need to be testing on the latest Ruby, so this seems to be the best compromise. For more information on the breakage in Ruby, see [issue 285][rubybug]. For more information on this decision, see [issue 294][workaround]. Fixes #294 /cc #285 [rubybug]: https://github.com/intridea/hashie/pull/285 [workaround]: https://github.com/intridea/hashie/pull/294
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 4b4fda9..74552ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,8 +4,7 @@ cache: bundler
rvm:
- 2.2.2
- - 2.1.2
- - 2.1.0
+ - 2.1.6
- 2.0.0
- 1.9.3
- jruby-19mode