-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Updated EFI support * Added tests for Puppet 5 and Ruby 2.4.0 * Added compatiblity with CentOS * Restricted RHEL and CentOS versions to those that can be tested * Eliminated old Ruby versions from the tests since they fundamentally break Closes #27
- Loading branch information
1 parent
80db0af
commit 5e2d464
Showing
5 changed files
with
57 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,66 +1,31 @@ | ||
language: ruby | ||
dist: precise | ||
sudo: required | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.3 | ||
- 2.0.0 | ||
- 2.1.9 | ||
# Ruby with Puppet 5 | ||
- 2.4.0 | ||
notifications: | ||
email: | ||
- [email protected] | ||
env: | ||
# base env | ||
# Most tests with oldest supported ruby-augeas | ||
- PUPPET=3.0.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
- PUPPET=3.2.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
# Test the latest ruby-augeas (~>) | ||
- PUPPET=3.2.0 RUBY_AUGEAS=0.5 | ||
# Use this build to publish on the forge | ||
- PUPPET=3.4 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true | ||
# Test other versions of Augeas | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0 | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
- PUPPET=2.7.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0 | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0 | ||
# Issue #83: test old Augeas with new lenses | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 LENSES=HEAD | ||
- PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 LENSES=HEAD | ||
- PUPPET=3.4 RUBY_AUGEAS=0.5 AUGEAS=1.0.0 LENSES=HEAD | ||
- PUPPET=3.4 RUBY_AUGEAS=0.5 AUGEAS=1.1.0 LENSES=HEAD | ||
# Test latest Puppet version | ||
# Test Puppet 4 | ||
- PUPPET=4.0 RUBY_AUGEAS=0.5 | ||
|
||
# Test Oldest Puppet, Inc. supported Puppet | ||
- PUPPET=4.7.1 RUBY_AUGEAS=0.5 FORGE_PUBLISH=true | ||
# Test latest Puppet version | ||
- PUPPET=5.0 RUBY_AUGEAS=0.5 | ||
|
||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- env: PUPPET=5.0 RUBY_AUGEAS=0.5 | ||
exclude: | ||
# base exclude | ||
# No support for Ruby 2.0 before Puppet 3.2.0 and ruby-augeas 0.5 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.0.0 RUBY_AUGEAS=0.3.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.2.0 RUBY_AUGEAS=0.3.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=0.10.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.0.0 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.2.0 | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.0.0 LENSES=HEAD | ||
- rvm: 2.0.0 | ||
env: PUPPET=3.4 RUBY_AUGEAS=0.3.0 AUGEAS=1.1.0 LENSES=HEAD | ||
# No support for Ruby 1.8 in Puppet 4 | ||
- rvm: 1.8.7 | ||
env: PUPPET=4.0 RUBY_AUGEAS=0.5 | ||
|
||
# No support for Ruby 2.1.9 in Puppet 5 | ||
- rvm: 2.1.9 | ||
env: PUPPET=5.0 RUBY_AUGEAS=0.5 | ||
|
||
install: | ||
- "travis_retry ./.travis.sh" | ||
|
@@ -78,5 +43,5 @@ deploy: | |
# all_branches is required to use tags | ||
all_branches: true | ||
# Only publish if our main Ruby target builds | ||
rvm: 1.9.3 | ||
rvm: 2.1.9 | ||
condition: "$FORGE_PUBLISH = true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters