mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-01-24 21:41:21 +01:00
See if Travis CI will parse YAML like I hope it will.
This commit is contained in:
parent
0425b0ef87
commit
f4cc79b560
15
.travis.yml
15
.travis.yml
@ -52,9 +52,18 @@ script:
|
||||
# Ensure PHP configurations have taken effect.
|
||||
- docker exec --tty ${container_id} env TERM=xterm php -i | grep 'memory_limit.*192'
|
||||
|
||||
# Check the status of PHP-FPM (but don't fail if not found).
|
||||
- docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php${php_version}-fpm status || true
|
||||
- docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php-fpm status || true
|
||||
# Check the status of PHP-FPM.
|
||||
- |
|
||||
case "${distro}" in
|
||||
"centos7"|"fedora24")
|
||||
docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php-fpm status
|
||||
docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php-fpm status | grep -qF "fpm.service; enabled"
|
||||
;;
|
||||
"debian8"|"ubuntu1604")
|
||||
docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php${php_version}-fpm status
|
||||
docker exec --tty ${container_id} env TERM=xterm systemctl --no-pager status php${php_version}-fpm status | grep -qF "fpm.service; enabled"
|
||||
;;
|
||||
esac
|
||||
|
||||
notifications:
|
||||
webhooks: https://galaxy.ansible.com/api/v1/notifications/
|
||||
|
Loading…
Reference in New Issue
Block a user