Skip to content

Commit 1a18238

Browse files
committed
Allow failures for Rubinius build
The build with Rubinius spuriously fails with the following error: 1) Overcommit::HookContext::CommitMsg#commit_message_lines strips comments and trailing diff Failure/Error: subject { context.commit_message_lines } Errno::ENOENT: No such file or directory - /tmp/commit-message20150420-4267-14fo3is kernel/common/io.rb:942:in `sysopen' kernel/common/file.rb:1215:in `initialize' kernel/alpha.rb:94:in `new' kernel/common/io.rb:624:in `open' kernel/common/io.rb:431:in `foreach' kernel/common/io.rb:448:in `readlines' ./lib/overcommit/hook_context/commit_msg.rb:29:in `raw_commit_message_lines' ./lib/overcommit/hook_context/commit_msg.rb:17:in `commit_message_lines' ./spec/overcommit/hook_context/commit_msg_spec.rb:37:in `__script__' kernel/common/hash.rb:356:in `fetch' ./spec/overcommit/hook_context/commit_msg_spec.rb:40:in `__script__' kernel/common/eval.rb:101:in `instance_exec' kernel/bootstrap/array.rb:97:in `map' kernel/bootstrap/array.rb:97:in `map' kernel/bootstrap/array.rb:97:in `map' kernel/common/kernel.rb:497:in `load' kernel/delta/code_loader.rb:66:in `load_script' kernel/delta/code_loader.rb:152:in `load_script' kernel/loader.rb:655:in `script' kernel/loader.rb:809:in `main' Until we have time to figure this out, ignore Rubinius failures since to my knowledge it does not have a huge number of adopters who are also using it for Overcommit.
1 parent 1162272 commit 1a18238

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ rvm:
1212
- jruby-19mode
1313
- rbx-2
1414

15+
matrix:
16+
allow_failures:
17+
- rvm: rbx-2
18+
1519
before_script:
1620
- git config --global user.email "travis@travis.ci"
1721
- git config --global user.name "Travis CI"

0 commit comments

Comments
 (0)