Skip to content

Commit

Permalink
#35: Add debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Rombauts committed Sep 25, 2017
1 parent 37d1960 commit 467d52c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 467d52c

Please sign in to comment.