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:
parent
9dd8b5a210
commit
16f9dea4ab
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user