Skip to content

Commit

Permalink
Merge pull request #1206 from benoittgt/update-travis-build-scripts-2…
Browse files Browse the repository at this point in the history
…018-03-04-for-master

Updated travis build scripts + rubocop config (from rspec-dev)
  • Loading branch information
JonRowe authored Mar 4, 2018
2 parents a79f594 + 3183a52 commit a2bd3be
Show file tree
Hide file tree
Showing 8 changed files with 89 additions and 12 deletions.
86 changes: 81 additions & 5 deletions .rubocop_rspec_base.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

# This file contains defaults for RSpec projects. Individual projects
# can customize by inheriting this file and overriding particular settings.

AccessModifierIndentation:
EnforcedStyle: outdent
Enabled: false

# "Use alias_method instead of alias"
# We're fine with `alias`.
Expand Down Expand Up @@ -95,9 +95,6 @@ PredicateName:
Proc:
Enabled: false

RedundantReturn:
AllowMultipleReturnValues: true

# Exceptions should be rescued with `Support::AllExceptionsExceptOnesWeMustNotRescue`
RescueException:
Enabled: true
Expand Down Expand Up @@ -228,7 +225,86 @@ Layout/SpaceAroundOperators:
Layout/SpaceBeforeComma:
Enabled: false

Style/BlockDelimiters:
Enabled: false

Style/EmptyCaseCondition:
Enabled: false

Style/MultilineIfModifier:
Enabled: false

Style/RescueStandardError:
Enabled: false

Style/StderrPuts:
Enabled: false

Style/TernaryParentheses:
Enabled: false

# This could likely be enabled, but it had a false positive on rspec-mocks
# (suggested change was not behaviour preserving) so I don't trust it.
Performance/HashEachMethods:
Enabled: false

Naming/HeredocDelimiterNaming:
Enabled: false

Layout/EmptyLineAfterMagicComment:
Enabled: false

Layout/IndentArray:
Enabled: false

Layout/IndentAssignment:
Enabled: false

Layout/IndentHeredoc:
Enabled: false

Layout/SpaceInsidePercentLiteralDelimiters:
Enabled: false

Style/EmptyElse:
Enabled: false

Style/IfInsideElse:
Enabled: false

Style/RedundantReturn:
Enabled: false

Style/StructInheritance:
Enabled: false

Naming/VariableNumber:
Enabled: false

Layout/SpaceInsideStringInterpolation:
Enabled: false

Style/DateTime:
Enabled: false

Style/ParenthesesAroundCondition:
Enabled: false

Layout/EmptyLinesAroundBlockBody:
Enabled: false

Lint/ImplicitStringConcatenation:
Enabled: false

Lint/NestedMethodDefinition:
Enabled: false

Style/RegexpLiteral:
Enabled: false

Style/TrailingUnderscoreVariable:
Enabled: false

Layout/EmptyLinesAroundAccessModifier:
Enabled: false

3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

language: ruby
Expand Down Expand Up @@ -42,6 +42,7 @@ matrix:
- rvm: jruby-head
- rvm: ruby-head
- rvm: rbx-3
- rvm: ruby-2.6.0-preview1
fast_finish: true
branches:
only:
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

version: "{build}"
Expand Down
2 changes: 1 addition & 1 deletion script/clone_all_rspec_repos
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

set -e
Expand Down
2 changes: 1 addition & 1 deletion script/functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
Expand Down
2 changes: 1 addition & 1 deletion script/predicate_functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

function is_mri {
Expand Down
2 changes: 1 addition & 1 deletion script/run_build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

set -e
Expand Down
2 changes: 1 addition & 1 deletion script/travis_functions.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file was generated on 2018-01-02T08:14:15-08:00 from the rspec-dev repo.
# This file was generated on 2018-03-04T16:52:14+01:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.

# Taken from:
Expand Down

0 comments on commit a2bd3be

Please sign in to comment.