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



git-svn-id: https://develop.svn.wordpress.org/trunk@42492 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Aaron Jorbin 2018-01-16 20:28:42 +00:00
parent 9dd8b5a210
commit 16f9dea4ab

View File

@ -17,6 +17,7 @@ matrix:
- php: 7.2
- php: 7.1
- php: 7.0
env: WP_TEST_REPORTER=true
- php: 5.6
- php: 5.6
env: WP_TRAVIS_OBJECT_CACHE=true
@ -101,6 +102,14 @@ before_script:
- svn --version
- locale -a
script: grunt $WP_TRAVISCI
after_script:
- |
if [[ "$WP_TEST_REPORTER" == "true" ]]; then
git clone https://github.com/WordPress/phpunit-test-runner.git test-runner
export WPT_PREPARE_DIR=$(pwd)
export WPT_TEST_DIR=$(pwd)
php test-runner/report.php
fi
notifications:
slack:
rooms: