Skip to content

Commit 7d82abc

Browse files
committed
(maint) Update and reformat travis.yml
* Reformat YAML * address build config validation warnings * remove outdated config options * specify modern build environment
1 parent ebcbe7c commit 7d82abc

File tree

1 file changed

+24
-28
lines changed

1 file changed

+24
-28
lines changed

.travis.yml

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2+
os: linux
3+
dist: xenial
24
language: ruby
35

4-
sudo: false
5-
66
bundler_args: --without development acceptance
77

88
notifications:
@@ -11,31 +11,27 @@ notifications:
1111
before_install:
1212
- gem update bundler
1313

14-
matrix:
14+
script: 'SPEC_OPTS="--format documentation" COVERAGE="yes" bundle exec rake $CHECK'
15+
16+
jobs:
1517
fast_finish: true
1618
include:
17-
- rvm: 2.1.9
18-
env: PUPPET_GEM_VERSION="~> 4" CHECK=spec
19-
- rvm: 2.4.1
20-
env: PUPPET_GEM_VERSION="~> 4" CHECK=spec
21-
- rvm: 2.4.1
22-
env: PUPPET_GEM_VERSION="~> 5" CHECK=spec
23-
- rvm: 2.5
24-
env: PUPPET_GEM_VERSION="~> 6" CHECK=spec
25-
- rvm: 2.1.9
26-
env: PUPPET_GEM_VERSION="~> 4" CHECK=rubocop
27-
-
28-
bundler_args: ""
29-
dist: trusty
30-
rvm: 2.5
31-
before_script:
32-
- bundle exec rake 'litmus:provision[docker, centos:7]'
33-
- bundle exec rake 'litmus:install_agent[puppet6]'
34-
- bundle exec rake 'litmus:install_modules_from_directory[./spec/fixtures/acceptance/modules]'
35-
- bundle exec rake litmus:install_gems
36-
script:
37-
- bundle exec rake litmus:acceptance:parallel
38-
services: docker
39-
sudo: required
40-
41-
script: 'SPEC_OPTS="--format documentation" COVERAGE="yes" bundle exec rake $CHECK'
19+
- rvm: 2.1.9
20+
env: PUPPET_GEM_VERSION="~> 4" CHECK=spec
21+
- rvm: 2.4.1
22+
env: PUPPET_GEM_VERSION="~> 4" CHECK=spec
23+
- rvm: 2.4.1
24+
env: PUPPET_GEM_VERSION="~> 5" CHECK=spec
25+
- rvm: 2.5
26+
env: PUPPET_GEM_VERSION="~> 6" CHECK=spec
27+
- rvm: 2.1.9
28+
env: PUPPET_GEM_VERSION="~> 4" CHECK=rubocop
29+
- bundler_args: ""
30+
rvm: 2.5
31+
before_script:
32+
- bundle exec rake 'litmus:provision[docker, centos:7]'
33+
- bundle exec rake 'litmus:install_agent[puppet6]'
34+
- bundle exec rake 'litmus:install_modules_from_directory[./spec/fixtures/acceptance/modules]'
35+
- bundle exec rake litmus:install_gems
36+
script:
37+
- bundle exec rake litmus:acceptance:parallel

0 commit comments

Comments
 (0)