Make WordPress Core

Changeset 47556


Ignore:
Timestamp:
04/09/2020 06:06:02 AM (5 years ago)
Author:
mikeschroder
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r47459 r47556  
    136136  if [[ "$WP_TEST_REPORTER" == "true" ]]; then
    137137    git clone https://github.com/WordPress/phpunit-test-runner.git test-runner
    138     docker-compose run --rm -e WPT_PREPARE_DIR=/var/www -e WPT_TEST_DIR=/var/www php php test-runner/report.php
     138    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
    139139  fi
    140140
Note: See TracChangeset for help on using the changeset viewer.