Commit graph

16 commits

Author SHA1 Message Date
Matthew Haughton
b8f2cfaeb6 Merge pull request #764 from jfryman/3flex/travis-bundler-caching
travis: enable bundler caching in builds
2016-02-05 12:55:16 -05:00
Matthew Haughton
72499fb193 travis: enable bundler caching in builds
From https://docs.travis-ci.com/user/caching:

On Ruby and Objective-C projects, installing dependencies via Bundler
can make up a large portion of the build duration. Caching the bundle
between builds drastically reduces the time a build takes to run.
2016-02-05 12:35:21 -05:00
Matthew Haughton
581d08c963 travis: test with strict_variables on puppet 4 2016-02-05 12:33:32 -05:00
Matthew Haughton
a3e84acd82 travis: drop ruby 1.8.7 tests
The Ruby 1.8.7 tests have been broken for ages, and it's unlikely anyone
will do the work to restore support for the tests. Drop them from the suite
to save Travis CI from doing work for nothing on every commit.
2015-05-07 22:47:16 -04:00
Matthew Haughton
941de4674e travis: test on Puppet 4 for real
No need to test with future parser, the real thing is here.
2015-04-23 09:45:19 -04:00
Matthew Haughton
abf6f870e5 don't allow future parser failures 2015-03-30 23:42:50 -04:00
Matthew Haughton
82e3bc5071 travis: test future parser on latest puppet 2015-03-30 23:40:00 -04:00
Matthew Haughton
d6e04480b5 travis: enable container-based builds
Jobs running on container-based infrastructure:
1. start up faster
2. allow the use of caches for public repositories
3. disallow the use of sudo, setuid and setgid executables

http://docs.travis-ci.com/user/workers/container-based-infrastructure/
2014-12-10 12:47:46 -05:00
Matthew Haughton
c3d1149da9 add Puppet future parser to Travis matrix
Only Puppet 3.5 for now; rspec-puppet doesn't work with anything higher.
Allow failures since future parser is still pre-release.
2014-09-04 23:08:02 -04:00
Matthew Haughton
bdaba9a86a Add validate and lint tasks to travis script 2014-08-18 22:41:34 -04:00
Matthew Haughton
d7d63a847a Extend Travis test matrix
* Add ruby 2.1.0
* Add back ruby 1.8.7 as allowed failure - shows test results
  but won't mark build as failed
* Enable fast finish - quick feedback on failed builds
* Make test matrix explicit so it's easier to tell what's included
  in the matrix, instead of excluding certain combinations
2014-08-18 22:41:34 -04:00
Matthew Haughton
2d4c9d98ac switch to puppetlabs_spec_helper
Removes librarian-puppet since puppetlabs_spec_helper
can now handle installing modules from the Forge.
2014-08-18 22:41:34 -04:00
Jan Örnstedt
46abf95d94 Change travis to exclude unwanted branches instead of only including master. 2014-06-27 22:30:20 +02:00
Joshua Moore
61dd9cd686 Deleted ruby 1.8.7 tests support 2014-03-24 17:21:33 -04:00
eSe
b351b1eafd Deleted ruby 1.8.7 tests support 2014-03-13 19:31:27 +01:00
Matthew Haughton
89be74c6e5 add travis config 2013-10-19 23:25:07 -04:00