Skip to content

Commit

Permalink
add acceptance tests for ubuntu18.04
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 5, 2018
1 parent 0c57b4c commit d380053
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sync.yml
Expand Up @@ -13,6 +13,9 @@
- set: docker/debian-8
options:
script: 'bundle exec rspec spec/acceptance/php56_spec.rb'
- set: docker/ubuntu-18.04
options:
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
- set: docker/ubuntu-16.04
options:
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
Expand Down
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -53,6 +53,13 @@ matrix:
script: 'bundle exec rspec spec/acceptance/php56_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/ubuntu-18.04
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
services: docker
sudo: require
- rvm: 2.4.3
bundler_args: --without development release
dist: trusty
Expand Down
2 changes: 2 additions & 0 deletions spec/acceptance/php_spec.rb
Expand Up @@ -10,6 +10,8 @@
end

case default[:platform]
when %r{ubuntu-18.04}
packagename = 'php7.2-fpm'
when %r{ubuntu-16.04}
packagename = 'php7.0-fpm'
when %r{ubuntu-14.04}
Expand Down

0 comments on commit d380053

Please sign in to comment.