From 0abf7a0ce071287d8486bc7bf26cb099f174dcd7 Mon Sep 17 00:00:00 2001 From: David Schmitt Date: Mon, 3 Feb 2020 11:08:06 +0000 Subject: [PATCH] fix validation errors in .travis.yml * remove obsolete `sudo` key * add `os: linux` default * make the cache directories arrays as requested by the schema * `matrix` -> `jobs` * some YAML reformatting --- .travis.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index d084255e..48e591c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -sudo: false +os: linux language: ruby bundler_args: "--without development" script: @@ -10,8 +10,8 @@ script: cache: bundler branches: except: - - release-prep -matrix: + - release-prep +jobs: include: - rvm: 2.4.3 env: PUPPET_GEM_VERSION='~> 5' SIMPLECOV=yes # 5.5 @@ -20,7 +20,7 @@ matrix: before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd cache: bundler: true - directories: ~/.rvm + directories: [~/.rvm] before_install: rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0' # disable coverage on jruby9k as this confuses codecov - env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug" @@ -28,7 +28,7 @@ matrix: before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd cache: bundler: false - directories: ~/.rvm + directories: [~/.rvm] before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy - rvm: 2.5.1 env: CHECK=rubocop