From 467d52c2de44e9f3fd1348f08e05ccf4d50b2b9e Mon Sep 17 00:00:00 2001 From: Steven Rombauts Date: Mon, 25 Sep 2017 12:11:15 +0100 Subject: [PATCH] #35: Add debug output --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index a352863..b1f85cf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,11 +30,13 @@ script: - grep -q "echo 'Hello World\!'" helloworld.php && true || false # Test if the row exists in the database - COUNT=$(mysql -uroot -s -N -e "SELECT COUNT(extension_id) FROM sites_composer.j_extensions WHERE element = 'com_helloworld';") + - "echo \"Matched $COUNT rows\"" - "[ $COUNT -gt 0 ] && true || false" # Test uninstall - composer remove -vvv --working-dir=$DOCUMENTROOT/composer --no-interaction joomlatools/composer-helloworld # Verify if component file has been removed - "[ ! -f $DOCUMENTROOT/composer/administrator/components/com_helloworld/helloworld.php ] && true || false" + - "echo \"Matched $COUNT rows\"" # Ensure extensions table has been updated - COUNT=$(mysql -uroot -s -N -e "SELECT COUNT(extension_id) FROM sites_composer.j_extensions WHERE element = 'com_helloworld';") - "[ $COUNT -eq 0 ] && true || false"