diff options
-rw-r--r-- | .travis.yml | 8 | ||||
-rw-r--r-- | CHANGELOG.md | 10 | ||||
-rw-r--r-- | Gemfile | 11 | ||||
-rw-r--r-- | Rakefile | 12 |
4 files changed, 16 insertions, 25 deletions
diff --git a/.travis.yml b/.travis.yml index f34c2e3..740091b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,21 @@ --- language: ruby sudo: false + branches: only: - master -bundler_args: --without system_tests -script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--format documentation'" + +script: "bundle exec rake test SPEC_OPTS='--format documentation'" + matrix: fast_finish: true include: - rvm: 2.1.6 env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" - rvm: 2.1.6 + env: PUPPET_VERSION="~> 3.0" STRICT_VARIABLES="yes" ORDERING="random" FUTURE_PARSER="yes" + - rvm: 2.1.6 env: PUPPET_VERSION="~> 4.0" ORDERING="random" allow_failures: - env: PUPPET_VERSION="~> 4.0" ORDERING="random" diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..478fe63 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,10 @@ +# Change Log +All notable changes to this project will be documented in this file. +This project adheres to [Semantic Versioning](http://semver.org/). + +## [Unreleased][unreleased] +### Added +- Full configuration of unattended-upgrades and all possible options for `APT::Periodic`. +- Test suite covering the current behaviour. +- README with full documentation. +- Boilerplate such as Gemfile, Travis configuration, LICENSE and so on. @@ -9,14 +9,3 @@ group :test do gem "metadata-json-lint" gem "rspec-puppet-facts" end - -group :development do - gem "travis" - gem "travis-lint" - gem "puppet-blacksmith" -end - -group :system_tests do - gem "beaker" - gem "beaker-rspec" -end @@ -4,13 +4,6 @@ require 'puppet/vendor/semantic/lib/semantic' unless Puppet.version.to_f < 3.6 require 'puppet-lint/tasks/puppet-lint' require 'puppet-syntax/tasks/puppet-syntax' -# These gems aren't always present, for instance -# on Travis with --without development -begin - require 'puppet_blacksmith/rake_tasks' -rescue LoadError -end - Rake::Task[:lint].clear PuppetLint.configuration.relative = true @@ -33,11 +26,6 @@ exclude_paths = [ PuppetLint.configuration.ignore_paths = exclude_paths PuppetSyntax.exclude_paths = exclude_paths -desc "Run acceptance tests" -RSpec::Core::RakeTask.new(:acceptance) do |t| - t.pattern = 'spec/acceptance' -end - desc "Populate CONTRIBUTORS file" task :contributors do system("git log --format='%aN' | sort -u > CONTRIBUTORS") |