Skip to content

Commit

Permalink
Merge pull request puppetlabs#759 from pmcmaw/update_sync
Browse files Browse the repository at this point in the history
(MODULES-7023) - Removing duplication in .sync.yml
  • Loading branch information
david22swan authored Apr 27, 2018
2 parents f296e28 + def3a12 commit d09ffcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 28 deletions.
26 changes: 2 additions & 24 deletions .sync.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
---
appveyor.yml:
environment:
PUPPET_GEM_VERSION: "~> 4.0"
matrix:
- RUBY_VERSION: 24-x64
CHECK: "syntax lint"
- RUBY_VERSION: 24-x64
CHECK: metadata_lint
- RUBY_VERSION: 24-x64
CHECK: rubocop

.travis.yml:
bundle_args: --without system_tests
docker_sets:
Expand All @@ -22,9 +11,6 @@ appveyor.yml:
secure: ""
branches:
- release
extras:
- rvm: 2.1.9
script: "\"bundle exec rake release_checks\""

Gemfile:
required:
Expand All @@ -47,14 +33,6 @@ Gemfile:
from_env: BEAKER_HOSTGENERATOR_VERSION
- gem: beaker-rspec
from_env: BEAKER_RSPEC_VERSION
':development':
- gem: puppet-blacksmith
version: '~> 3.4'

Rakefile:
requires:
- puppet_blacksmith/rake_tasks

spec/spec_helper.rb:
spec_overrides:
- "require 'spec_helper_local'"
appveyor.yml:
delete: true
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ language: ruby
cache: bundler
before_install:
- bundle -v
- rm Gemfile.lock || true
- rm -f Gemfile.lock
- gem update --system
- gem update bundler
- gem --version
- bundle -v
script:
- 'bundle exec rake $CHECK'
bundler_args: --without system_tests
rvm:
- 2.4.1
- 2.1.9
env:
- PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
- PUPPET_GEM_VERSION="~> 5.0" CHECK=spec
matrix:
fast_finish: true
Expand Down Expand Up @@ -44,8 +43,12 @@ matrix:
-
env: CHECK=metadata_lint
-
env: CHECK=release_checks
-
env: CHECK=spec
-
env: PUPPET_GEM_VERSION="~> 4.0" CHECK=spec
rvm: 2.1.9
script: "bundle exec rake release_checks"
branches:
only:
- master
Expand Down

0 comments on commit d09ffcb

Please sign in to comment.