Commit graph

24 commits

Author SHA1 Message Date
David Schmitt
793f51554b (MAINT) Update for modulesync_config 72d19f184 2016-07-27 15:56:35 +01:00
David Schmitt
cf5140777b Update to newest modulesync_configs [9ca280f] 2016-04-18 20:15:09 +01:00
David Schmitt
8ce25cc6f3 (FM-4046) Update to current msync configs [006831f]
This moves all copyright statements to the NOTICE file in accordance with the ASFs guidelines on applying the Apache-2.0 license.
2016-02-16 16:33:49 +00:00
David Schmitt
6e6d242419 (FM-4049) Update to current msync configs [2c99161] 2016-01-27 14:46:24 +00:00
Bryan Jen
9590de98d6 (maint) removes ruby 1.8.7 and puppet 2.7 from travis-ci jobs 2015-11-18 17:49:16 -07:00
Jonathan Tripathy
f0c2096a8a Updated travisci file to remove allow_failures on Puppet 4 2015-06-04 14:28:17 +01:00
Hunter Haugen
5dc78b7128 Add ability to unittest puppet 4 2015-05-27 08:13:45 -07:00
Morgan Haskel
41f7a7f30d sync via modulesync 2015-05-06 14:10:32 -07:00
Colleen Murphy
5ff3378daa Update .travis.yml
This commit makes the following changes to the test matrix:

- Runs tests on ruby 2.1.5 instead of 2.0.0
- Runs tests on ruby 1.8.7 with puppet 3.x
- Adds an environment to run on an intermediate 3.x puppet version
  instead of latest (specifically 3.4.x)
- Adds an environment to run with the future parser on latest puppet.
  This would affect the test runs for the validate and spec checks.
- Stop testing with strict variables
- Runs the tests on docker
2015-03-23 22:11:47 -07:00
Colleen Murphy
ec2397d343 Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md 2014-12-08 10:23:41 -08:00
Hunter Haugen
699547eb1e Don't test on 3.5.0.rc3 any more 2014-08-21 10:54:39 -07:00
Colleen Murphy
4df5590f50 Add validate and lint tasks to travis script 2014-07-03 09:53:58 -07:00
Colleen Murphy
9c3a14de40 Synchronize .travis.yml 2014-06-27 10:55:14 -07:00
Colleen Murphy
c63a7ba857 Sync files 2014-06-25 17:23:35 -07:00
Mickaël Canévet
47bc3423f6 Add strict_variables support in unit tests 2014-04-08 16:38:38 +02:00
Hunter Haugen
17eff2f7db Remove autorelease 2014-03-05 09:11:11 -08:00
Garrett Honeycutt
404a757774 Test against Puppet v3.4.0 2014-01-23 14:07:15 -05:00
Garrett Honeycutt
97a226f32d Enable fast finish in Travis
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-23 14:06:57 -05:00
Ashley Penney
3bc0ac2e27 Add autopublishing. 2013-10-25 11:56:31 -04:00
Ashley Penney
be12f1c55b Remove 3.0, 3.1, and 2.6 to shrink the test matrix.
Oh, and kill off ruby-head.
2013-08-27 15:02:45 -04:00
Ken Barber
cef3be22f2 Fix travis.yml
Signed-off-by: Ken Barber <ken@bob.sh>
2013-06-12 15:04:38 +01:00
Dominic Cleal
61b0b16c9b Add create_resources to fix Travis CI failure on Puppet 2.6 2013-03-21 23:38:48 +00:00
Ken Barber
794ef22934 Fix versions for travis-ci
This fixes some mistakes in the .travis.yml file:

* Corrects matches so the minor gem revisions get rounded, this means 2.6.0
  for example is used.
* Adds Ruby 2.0.0 tests
* Allows 2.6.0 to fail for now, as it doesn't have create_resources.
* Removes trailing commas and arrays in functions for 2.6.0.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-26 14:32:25 +00:00
Ken Barber
e9370fee7b Add unit tests and travis-ci support
This patch includes some very basic and initial unit testing using rspec-puppet
and for the case of facts, just normal rspec.

I've taken a very light approach here as rspec-puppet can be quite combinatorial
when one gets carried away. For now I've just added basic compile failure
detection effectively for classes and defined resources. As we continue to work
on the code and find regressions this work can be expanded.

For facts and functions I've also taken a basic approach for now.

One little thing I did change, was the strange string that the fact returns
when the default version is undefined. Instead of an error message I've just
returned the string 'unknown' which is more in line with other facts I've seen
in the wild, and to be quite honest 'unknown' is fairly self-explantory. Since
a fact isn't an error reporting message this seemed more appropriate, and looked
nicer in the rspec test.

As far as travis-ci support, I've added the same configuration that @jmmcune
came up with for stdlib which is pretty light and reasonable standard now we
propogated that to 4 or so other modules in the puppetlabs/ namespace. It should
work out of the box.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-05 15:15:03 +00:00