Make WordPress Core

Ticket #49846: 49846.diff

File 49846.diff, 542 bytes (added by kirasong, 5 years ago)

Pass API key to reporter in docker-compose.

  • .travis.yml

    diff --git .travis.yml .travis.yml
    index 46b72aa055..9634c3a509 100644
    after_script: 
    135135- |
    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
    141141notifications: