From 615cf2349e700aa2aae7d166c33d340a82cc1d41 Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Thu, 19 Mar 2020 09:48:40 -0400 Subject: [PATCH] Update self-test parameters --- .travis.yml | 10 +++++++--- test/.rubocop.yml | 6 ++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 315b3a7..253a396 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ -language: c +sudo: required +language: ruby c matrix: include: @@ -7,16 +8,19 @@ matrix: osx_image: xcode7.3 - os: linux dist: trusty + rvm: "2.4" compiler: gcc - os: linux - dist: trusty + dist: xenial + rvm: "2.7" compiler: clang before_install: - - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.3 && rvm use 2.3 && ruby -v; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi + install: - gem install rspec - gem install rubocop -v 0.57.2 + script: - cd test && rake ci diff --git a/test/.rubocop.yml b/test/.rubocop.yml index bedab00..6c9542f 100644 --- a/test/.rubocop.yml +++ b/test/.rubocop.yml @@ -22,6 +22,12 @@ Style/NumericPredicate: Enabled: false Style/MultilineBlockChain: Enabled: false +Style/Alias: + Enabled: false +Style/EvalWithLocation: + Enabled: false +Style/MixinUsage: + Enabled: false # These are also places we diverge... but we will likely comply down the road Style/IfUnlessModifier: