Skip to content

Commit

Permalink
Merge pull request #462 from bastelfreak/ubuntu1804
Browse files Browse the repository at this point in the history
enable ubuntu 18.04 acceptance tests
  • Loading branch information
bastelfreak authored Jul 15, 2018
2 parents 77d3449 + da702c6 commit 33380f4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
- set: debian7-64
options:
script: 'bundle exec rspec spec/acceptance/php56_spec.rb'
- set: ubuntu1804-64
options:
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
- set: ubuntu1604-64
options:
script: 'bundle exec rspec spec/acceptance/php_spec.rb'
Expand Down
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ matrix:
script: bundle exec rspec spec/acceptance/php56_spec.rb
services: docker
sudo: required
- rvm: 2.5.1
bundler_args: --without development release
dist: trusty
env: PUPPET_INSTALL_TYPE=agent BEAKER_PUPPET_COLLECTION=puppet5 BEAKER_debug=true BEAKER_setfile=ubuntu1804-64{hypervisor=docker} CHECK=beaker
script: bundle exec rspec spec/acceptance/php_spec.rb
services: docker
sudo: required
- rvm: 2.5.1
bundler_args: --without development release
dist: trusty
Expand Down
2 changes: 2 additions & 0 deletions spec/acceptance/php_spec.rb
Original file line number Diff line number Diff line change
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 33380f4

Please sign in to comment.