WordPress.org

Make WordPress Core

Changeset 42492


Ignore:
Timestamp:
01/16/2018 08:28:42 PM (3 years ago)
Author:
jorbin
Message:

BUILD/TEST TOOLS: Report Travis test results to make/hosting PHPUnit test results

Send the core test results to make/hosting in order to improve the alerting. See: https://github.com/WordPress/phpunit-test-reporter/issues/45

Fixes #43099
Props danielbachhuber

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r42464 r42492  
    1818  - php: 7.1
    1919  - php: 7.0
     20    env: WP_TEST_REPORTER=true
    2021  - php: 5.6
    2122  - php: 5.6
     
    102103- locale -a
    103104script: grunt $WP_TRAVISCI
     105after_script:
     106- |
     107  if [[ "$WP_TEST_REPORTER" == "true" ]]; then
     108    git clone https://github.com/WordPress/phpunit-test-runner.git test-runner
     109    export WPT_PREPARE_DIR=$(pwd)
     110    export WPT_TEST_DIR=$(pwd)
     111    php test-runner/report.php
     112  fi
    104113notifications:
    105114  slack:
Note: See TracChangeset for help on using the changeset viewer.