summaryrefslogtreecommitdiffstatshomepage
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorJonathan Desrosiers <desrosj@git.wordpress.org>2020-10-28 19:01:19 +0000
committerJonathan Desrosiers <desrosj@git.wordpress.org>2020-10-28 19:01:19 +0000
commita3bd11826a220dfe77ca2e867f8fcba91a9eb16e (patch)
tree26664d39b369841ffea9ba0283a8349f6e702edf /docker-compose.yml
parent72a37d46ac7507c2b241215a29d551bd2d61dc0f (diff)
downloadwordpress-a3bd11826a220dfe77ca2e867f8fcba91a9eb16e.tar.gz
wordpress-a3bd11826a220dfe77ca2e867f8fcba91a9eb16e.zip
Build/Test Tools: Allow the desired version of PHPUnit to be passed to the local Docker environment.
This change introduces the `LOCAL_PHPUNIT` environment variable that allows the desired version of PHPUnit to be specified when running the PHP tests within the local Docker environment. Because support for newer versions of PHPUnit is not backported, some versions of PHP need the ability to run multiple versions of PHPUnit for different branches. This adds the flexibility needed to use the Docker environment within those older branches to run the PHP tests. Props johnbillion. Fixes #50042. git-svn-id: https://develop.svn.wordpress.org/trunk@49358 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index eddc4a5670..56c994337f 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -96,7 +96,7 @@ services:
# The PHPUnit container.
##
phpunit:
- image: wordpressdevelop/phpunit:${LOCAL_PHP-latest}
+ image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest}
networks:
- wpdevnet