diff --git a/.travis.yml b/.travis.yml index 89d074e..64a5b8d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,5 +21,9 @@ script: && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1) - # Check PHP version to see if it's running... - # TODO + # Make sure PHP is running. + - > + php -v + | grep -q 'The PHP Group' + && (echo 'PHP is installed' && exit 0) + || (echo 'PHP is not installed' && exit 1) diff --git a/tests/test.yml b/tests/test.yml index e89cdca..7cc8e65 100644 --- a/tests/test.yml +++ b/tests/test.yml @@ -1,7 +1,5 @@ --- - hosts: all - vars_files: - - '../vars/main.yml' tasks: - include: '../tasks/main.yml' handlers: