forked from archtechx/tenancy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.7.0] Fix Events system (archtechx#94)
* Add TenantManagerEvents * Apply fixes from StyleCI * Fix typos, add tests * end() events * Travis should be failing * Uncomment ending
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# for development | ||
docker-compose up -d | ||
printf "Variant 1\n\n" | ||
TENANCY_TEST_REDIS_TENANCY=1 TENANCY_TEST_REDIS_CLIENT=phpredis docker-compose exec test vendor/bin/phpunit --coverage-php coverage/1.cov "$@" | ||
printf "Variant 2\n\n" | ||
TENANCY_TEST_REDIS_TENANCY=0 TENANCY_TEST_REDIS_CLIENT=predis docker-compose exec test vendor/bin/phpunit --coverage-php coverage/2.cov "$@" | ||
docker-compose exec test vendor/bin/phpcov merge --clover clover.xml coverage/ | ||
docker-compose exec test vendor/bin/phpcov merge --clover clover.xml coverage/ |