Commit Graph

14 Commits

Author SHA1 Message Date
David Schmitt 2dfc8073b3 (PDOC-259) relax ruby requirement to 2.1.0 from 2.1.9
This is required to support some edge-case scenarios with
older puppet versions.
2018-06-20 14:19:13 +01:00
Eric Putnam be444fa6ad
(PDOC-223) revert rsapi changes and remove markdown test
First, there were some rspec problems we originally connected to directory naming (e.g. 'yard'), but now we think it's a possible bug in rspec (https://github.com/rspec/rspec-core/issues/2184). this removes the markdown_spec.rb test that was both triggering the bug and, as it turns out, is an unnecessary test.

Reverted some of the changes made to the rsapi handler during markdown
output work. Those changes were made because of a typo in the spec
tests, so the typo has been fixed and most of the handler returned to
its original state.
2018-03-22 11:35:37 -07:00
Eric Putnam 2a5d23f82b
(PDOC-223) prepare travis for dropping old version support
This gets rid of test cells for old versions of ruby (< 2.1.9) and old versions of puppet (< 4) and also updates the test command to run all 100+ unit tests instead of a whopping 27 that rake spec runs
2018-03-22 11:34:19 -07:00
David Schmitt 8364b8e685 Enable code coverage tracking 2018-01-26 14:09:20 +00:00
Jesse Scott ffd05a3608 (fixup) Update bundler before Travis runs 2017-10-13 10:35:14 -07:00
Garrett Honeycutt 891668d525 Support testing with Puppet 5 2017-08-09 09:53:57 -07:00
Garrett Honeycutt 9048bed0d2 Support only the latest version of Puppet v4
Since Puppet v5 is out, we no longer need to support each point release
of Puppet v4.
2017-07-26 18:57:02 -04:00
Garrett Honeycutt 1892ed193b Use the supported ruby version for each Puppet version.
This patch moves from using a matrix of ruby and puppet version and then
excluding the incompatibilities to including supported versions. This
makes it much easier to see what is supported while also ensuring the
correct matrix of tests.

https://docs.puppet.com/puppet/4.10/about_agent.html
2017-07-26 18:55:14 -04:00
Will Hopper 06617469c4 (maint) Run spec tests against Puppet 4.8 2016-11-11 14:48:02 -08:00
Garrett Honeycutt 516b1594ba (maint) Test against specific, supported versions of Puppet 2016-11-02 14:00:41 -04:00
Hailee Kenney 5d3f013d73 (maint) Don't install beaker for spec tests in travis
Prior to this commit, the beaker gem and all its dependencies were
being installed just to run spec tests. Excluding beaker when running
spec tests should make things go faster because we won't have to
install so many gems.
2016-03-22 11:23:12 -07:00
Hailee Kenney aca451eb26 (maint) Enable docker containers for travis
Enable docker containers for travis so it will run faster.
2015-01-28 16:48:26 -08:00
Hailee Kenney 1abca4705f (PDOC-8) Add rubocop to travis job
In order to ensure long term code quality, add a rubocop check to
the travis job which runs when a pull request is submitted. Do this
by adding a rake task for rubocop and setting up travis to run
both the spec rake task and the rubocop one.

Additionally, make a few changes to the .rubocop.yml file so it
will stop complaining about incorrect namespaces.
2014-10-08 14:15:29 -07:00
Hailee Kenney c2f76543e7 (PDOC-7) Add .travis file for Travis CI support
Since we want Travis CI to run spec tests for pull requests opened
for puppet strings, add a .travis.yml file so that Travis CI can
run spec tests.
2014-09-25 09:28:41 -07:00