From 3df79c33804104543bf02d39ad1d3d4c35431c28 Mon Sep 17 00:00:00 2001 From: Mike Schroder Date: Thu, 9 Apr 2020 06:06:02 +0000 Subject: [PATCH] Tests: Pass API key to distributed test reporter. Pass environment variable for test reporter API key to `docker-compose` so that it can authenticate and submit results to the hosting distributed tests. Props SergeyBiryukov, mikeschroder. Fixes #49846. git-svn-id: https://develop.svn.wordpress.org/trunk@47556 602fd350-edb4-49c9-b593-d223f7449a82 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 46b72aa055..9634c3a509 100644 --- a/.travis.yml +++ b/.travis.yml @@ -135,7 +135,7 @@ after_script: - | if [[ "$WP_TEST_REPORTER" == "true" ]]; then git clone https://github.com/WordPress/phpunit-test-runner.git test-runner - docker-compose run --rm -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php + docker-compose run --rm -e WPT_REPORT_API_KEY -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php fi notifications: