Travis: new JRuby, develop on 2.4.0 (#476)

* Travis: new JRuby, develop on 2.4.0
* CircleCI: ensure new rubygems
* Rubocop: RegexpMatch too edgy; long blocks OK in specs
* Travis: JRuby head fails bundle install
* Travis: Allow failures for jruby-head
This commit is contained in:
Olle Jonsson 2017-02-08 19:52:53 +01:00 committed by GitHub
parent 8d74965019
commit d29c117454
4 changed files with 16 additions and 3 deletions

View File

@ -10,6 +10,9 @@ AllCops:
Metrics/LineLength:
Enabled: false
Performance/RegexpMatch:
Enabled: false
#http://viget.com/extend/just-use-double-quoted-ruby-strings
Style/StringLiterals:
EnforcedStyle: double_quotes
@ -66,4 +69,8 @@ Style/NumericPredicate:
Enabled: false
Style/SafeNavigation:
Enabled: false
Enabled: false
Metrics/BlockLength:
Exclude:
- 'spec/**/*'

View File

@ -1 +1 @@
2.3.1
2.4.0

View File

@ -16,7 +16,7 @@ matrix:
- rvm: 2.1
- rvm: 2.3.3
- rvm: 2.4.0
- rvm: jruby-9.1.6.0
- rvm: jruby-9.1.7.0
jdk: oraclejdk8
env:
- JRUBY_OPTS=--debug
@ -24,6 +24,9 @@ matrix:
jdk: oraclejdk8
env:
- JRUBY_OPTS=--debug
- DEBUG=1
allow_failures:
- rvm: jruby-head
addons:
code_climate:

View File

@ -1,3 +1,6 @@
dependencies:
pre:
- gem update --system
notify:
webhooks:
# A list of hook hashes, containing the url field