Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Commit

Permalink
(SIMP-2814) Fix Gemfile to fix tests (#2)
Browse files Browse the repository at this point in the history
- Fix Gemfile
- Fix malformed travis.yaml

SIMP-2814 #close
SIMP-2747 #comment
  • Loading branch information
lnemsick-simp authored and trevor-vaughan committed Mar 8, 2017
1 parent 26e4c30 commit 0a6df13
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# S6.0.0 4.7 2.1.9
---
language: ruby
sudo: true
sudo: false
cache: bundler
before_script:
- bundle
Expand Down Expand Up @@ -37,4 +37,4 @@ matrix:
- env: PUPPET_VERSION="~> 3.8.0"
- env: PUPPET_VERSION="~> 4.4.0"
- env: PUPPET_VERSION="~> 4.3.0"
- env: PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes
- env: PUPPET_VERSION="~> 3.8.0" FUTURE_PARSER=yes
33 changes: 18 additions & 15 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,37 @@ gem_sources = ENV.key?('SIMP_GEM_SERVERS') ? ENV['SIMP_GEM_SERVERS'].split(/[,
gem_sources.each { |gem_source| source gem_source }

group :test do
gem "rake"
gem 'rake'
gem 'puppet', ENV.fetch('PUPPET_VERSION', '~>4')
gem "rspec", '< 3.2.0'
gem "rspec-puppet"
gem "hiera-puppet-helper"
gem "puppetlabs_spec_helper"
gem "metadata-json-lint"
gem "simp-rspec-puppet-facts", ENV.fetch('SIMP_RSPEC_PUPPET_FACTS_VERSION', '~> 1.3')
gem 'simp-rake-helpers', ENV.fetch('SIMP_RAKE_HELPERS_VERSION', '~> 3')
gem 'rspec'
gem 'rspec-puppet'
gem 'puppet-strings'
gem 'hiera-puppet-helper'
gem 'puppetlabs_spec_helper'
gem 'metadata-json-lint'
gem 'puppet-lint-empty_string-check', :require => false
gem 'puppet-lint-trailing_comma-check', :require => false
gem 'simp-rspec-puppet-facts', ENV.fetch('SIMP_RSPEC_PUPPET_FACTS_VERSION', '~> 1.3')
gem 'simp-rake-helpers', ENV.fetch('SIMP_RAKE_HELPERS_VERSION', '~> 3.0')
end

group :development do
gem "travis"
gem "travis-lint"
gem "travish"
gem "puppet-blacksmith"
gem "guard-rake"
gem 'travis'
gem 'travis-lint'
gem 'travish'
gem 'puppet-blacksmith'
gem 'guard-rake'
gem 'pry'
gem 'pry-doc'
gem 'puppet-strings'

# `listen` is a dependency of `guard`
# from `listen` 3.1+, `ruby_dep` requires Ruby version >= 2.2.3, ~> 2.2
gem 'listen', '~> 3.0.6'
end

group :system_tests do
gem 'beaker', :git => 'https://github.com/trevor-vaughan/beaker', :ref => 'BKR-931-2.51.0'
# This patch is required to fix Beaker's broken `aio` handling
gem 'beaker', :git => 'https://github.com/trevor-vaughan/beaker.git', :branch => 'BKR-978-2.51.0'
gem 'beaker-rspec'
gem 'simp-beaker-helpers', ENV.fetch('SIMP_BEAKER_HELPERS_VERSION', '~> 1.5')
end

0 comments on commit 0a6df13

Please sign in to comment.