Skip to content

Commit

Permalink
added acceptence tests for debian 9 and added travis job
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonHoenscheid committed May 4, 2018
1 parent ff51992 commit 3473a55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ matrix:
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
services: docker
sudo: require
- rvm: 2.4.3
bundler_args: --without development release
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_debug=true BEAKER_set=docker/debian-9
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
services: docker
sudo: require
branches:
only:
- master
Expand Down
4 changes: 3 additions & 1 deletion spec/acceptance/php_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
packagename = 'php5-fpm'
when %r{el}
packagename = 'php-fpm'
when %r{debian}
when %r{debian-8}
packagename = 'php5-fpm'
when %r{debian-9}
packagename = 'php7.0-fpm'
end
describe package(packagename) do
it { is_expected.to be_installed }
Expand Down

0 comments on commit 3473a55

Please sign in to comment.