Skip to content

Commit

Permalink
add acceptance tests on centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Feb 16, 2018
1 parent 26bb2aa commit 1580e72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
docker_sets:
- set: docker/ubuntu-16.04
- set: docker/ubuntu-14.04
- set: docker-centos-7
secure: "GOhttACuJt+3s38m4WnW5RuTgwqaAoeEQnNT+X1Ukn7KdcIk4KV8NzYU/CC0VIm8lUOnBWYJKEC4ixX/J/4Wbxox2RAoKMQrO++L0DB1zTCJnq9SfoUBMaQhXvLu+PbxAR0p3P47ozra0C+pOWDpOaxT9ecufrPQt9W9Z4aY/bs="
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ matrix:
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/ubuntu-14.04 CHECK=beaker
services: docker
sudo: require
- rvm: 2.4.2
bundler_args: --without development release
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/centos-7 CHECK=beaker
services: docker
sudo: require
branches:
only:
- master
Expand Down
4 changes: 4 additions & 0 deletions spec/acceptance/php_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@
describe package('php5-fpm') do
it { is_expected.to be_installed }
end
when %(7)
describe package('php-fpm') do
it { is_expected.to be_installed }
end
end
end

0 comments on commit 1580e72

Please sign in to comment.