diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
| @@ -21,9 +21,14 @@ coverage: | |||
| 21 | tests: joomla | 21 | tests: joomla |
| 22 | 22 | ||
| 23 | joomla: | 23 | joomla: |
| 24 | if [ -nd "joomla-cms" ]; then git clone --depth 1 git@github.com:joomla/joomla-cms.git; fi | 24 | if [ ! -d "joomla-cms" ]; then \ |
| 25 | cd joomla-cms; composer install | 25 | git clone --depth 1 https://github.com/joomla/joomla-cms.git >/dev/null; \ |
| 26 | cd joomla-cms; libraries/vendor/phpunit/phpunit/phpunit -d extension=./src/modules/snuffleupagus.so | 26 | fi |
| 27 | cd joomla-cms; composer install >/dev/null 2>/dev/null | ||
| 28 | echo "\nWith snuffleupagus:" | ||
| 29 | cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit -d "extension=./src/modules/snuffleupagus.so" -d "sp.configuration_file=config/default.ini" --no-coverage >/dev/null | ||
| 30 | echo "\nWithout snuffleupagus:" | ||
| 31 | cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null | ||
| 27 | 32 | ||
| 28 | packages: debian | 33 | packages: debian |
| 29 | 34 | ||
