Skip to content

Commit

Permalink
enable automated tests on SLES (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed Jun 2, 2017
1 parent 7266871 commit d6e4a89
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
27 changes: 12 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ rvm:
# see http://rubies.travis-ci.org/
- 1.9.3
- 2.1.10
- 2.2.7
- 2.3.3
env:
# - BEAKER_set="debian-8-docker"
Expand All @@ -37,7 +36,7 @@ env:
- PUPPET_VERSION="~> 4.10.0" STRICT_VARIABLES=yes
matrix:
include:
- rvm: 2.3.2
- rvm: 2.3.3
dist: trusty
env: RAKE_ENV=ci BEAKER_debug=true BEAKER_set=centos7-3.8
script: bundle exec rake acceptance
Expand All @@ -49,38 +48,36 @@ matrix:
# script: bundle exec rake acceptance
# services: docker
# sudo: required
- rvm: 2.3.2
- rvm: 2.3.3
dist: trusty
env: RAKE_ENV=ci BEAKER_debug=true BEAKER_set=debian8-3.8
script: bundle exec rake acceptance
services: docker
sudo: required
- rvm: 2.3.2
- rvm: 2.3.3
dist: trusty
env: RAKE_ENV=ci BEAKER_debug=true BEAKER_set=debian8-4.8
script: bundle exec rake acceptance
services: docker
sudo: required
- rvm: 2.3.2
- rvm: 2.3.3
dist: trusty
# includes puppet provisioning (will included latest puppet version)
env: PUPPET_install=yes RAKE_ENV=ci PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=ubuntu-14.04
script: bundle exec rake acceptance
services: docker
sudo: required
- rvm: 2.3.3
dist: trusty
env: RAKE_ENV=ci BEAKER_debug=true BEAKER_set=sles13-3.8
script: bundle exec rake acceptance
services: docker
sudo: required
exclude:
- rvm: 1.9.3
env: PUPPET_VERSION="~> 4.9.0" STRICT_VARIABLES=yes
- rvm: 1.9.3
env: PUPPET_VERSION="~> 4.10.0" STRICT_VARIABLES=yes
- rvm: 2.2.7
env: PUPPET_VERSION="~> 3.6.0" STRICT_VARIABLES=yes
- rvm: 2.2.7
env: PUPPET_VERSION="~> 3.7.0" STRICT_VARIABLES=yes
- rvm: 2.2.7
env: PUPPET_VERSION="~> 3.8.0" STRICT_VARIABLES=yes
- rvm: 2.2.7
env: PUPPET_VERSION="~> 3.8.0" STRICT_VARIABLES=yes FUTURE_PARSER=yes
- rvm: 2.3.3
env: PUPPET_VERSION="~> 3.6.0" STRICT_VARIABLES=yes
- rvm: 2.3.3
Expand All @@ -89,5 +86,5 @@ matrix:
env: PUPPET_VERSION="~> 3.8.0" STRICT_VARIABLES=yes
- rvm: 2.3.3
env: PUPPET_VERSION="~> 3.8.0" STRICT_VARIABLES=yes FUTURE_PARSER=yes
# allow_failures:
# - env: RAKE_ENV=ci PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=debian8-3.8
allow_failures:
- env: RAKE_ENV=ci BEAKER_debug=true BEAKER_set=sles13-3.8
2 changes: 1 addition & 1 deletion spec/acceptance/nodesets/sles13-3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ HOSTS:
roles:
- agent
debug: false
docker_cmd: '["sh","-c", "git clone https://github.com/deric/puppet-gpasswd.git /etc/puppet/modules/gpasswd && /usr/sbin/sshd-gen-keys-start && /usr/sbin/sshd -D"]'
docker_cmd: '["sh","-c", "/usr/sbin/sshd-gen-keys-start && /usr/sbin/sshd -D"]'
CONFIG:
masterless: true
log_level: verbose
Expand Down

0 comments on commit d6e4a89

Please sign in to comment.