Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 03d716e

Browse files
author
Petr Knap
committed
Added docker with PHP 5.3 (CLI) for unit testing
1 parent 2e8a7f6 commit 03d716e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"scripts": {
2727
"test": [
28-
"./vendor/bin/phpunit"
28+
"sudo docker run -v $(pwd):/app --rm php:5.3-cli bash -c 'cd /app && php ./vendor/bin/phpunit'"
2929
],
3030
"post-autoload-dump": [
3131
"@test"

0 commit comments

Comments
 (0)