Skip to content

Commit 0abf7a0

Browse files
committed
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
1 parent 45c3481 commit 0abf7a0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sudo: false
1+
os: linux
22
language: ruby
33
bundler_args: "--without development"
44
script:
@@ -10,8 +10,8 @@ script:
1010
cache: bundler
1111
branches:
1212
except:
13-
- release-prep
14-
matrix:
13+
- release-prep
14+
jobs:
1515
include:
1616
- rvm: 2.4.3
1717
env: PUPPET_GEM_VERSION='~> 5' SIMPLECOV=yes # 5.5
@@ -20,15 +20,15 @@ matrix:
2020
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
2121
cache:
2222
bundler: true
23-
directories: ~/.rvm
23+
directories: [~/.rvm]
2424
before_install: rvm use jruby-1.7.26 --install --binary --fuzzy && gem install bundler -v '~> 1.7.0'
2525
# disable coverage on jruby9k as this confuses codecov
2626
- env: RVM="jruby-9.1.9.0" PUPPET_GEM_VERSION='~> 5' JRUBY_OPTS="--debug"
2727
dist: trusty
2828
before_cache: pushd ~/.rvm && rm -rf archives rubies/ruby-2.2.7 rubies/ruby-2.3.4 && popd
2929
cache:
3030
bundler: false
31-
directories: ~/.rvm
31+
directories: [~/.rvm]
3232
before_install: rvm use jruby-9.1.9.0 --install --binary --fuzzy
3333
- rvm: 2.5.1
3434
env: CHECK=rubocop

0 commit comments

Comments
 (0)