Build/Test Tools: Remove the E2E test job from the 5.6 branch.

The E2E test job does not currently perform any meaningful tests, so continuing to run them is not necessary for older branches.

Reviewed by peterwilsoncc, desrosj.
Fixes #51853.


git-svn-id: https://develop.svn.wordpress.org/branches/5.6@49689 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2020-11-24 16:03:23 +00:00
parent 664eb71ab6
commit 395198e624

View File

@ -29,8 +29,6 @@ env:
jobs:
include:
- env: WP_TRAVISCI=test:e2e LOCAL_PHPUNIT=latest PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
name: E2E Tests
- env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
name: PHP Linting
- env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
@ -98,7 +96,7 @@ before_script:
npm ci
fi
- |
if [[ "$WP_TRAVISCI" == "test:e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then
if [[ "$WP_TRAVISCI" == "test:php" ]]; then
npm run env:start
npm run build
docker-compose run --rm mysql mysql --version
@ -108,7 +106,7 @@ before_script:
- |
if [[ ${LOCAL_PHP:0:3} == "8.0" ]]; then
docker-compose run --rm phpunit php ./vendor/bin/phpunit --version
elif [[ "$WP_TRAVISCI" == "test:e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then
elif [[ "$WP_TRAVISCI" == "test:php" ]]; then
docker-compose run --rm phpunit phpunit --version
fi
- |
@ -133,9 +131,7 @@ before_script:
script:
- |
if [[ "$WP_TRAVISCI" == "test:e2e" ]]; then
npm run test:e2e
elif [[ "$WP_TRAVISCI" == "test:php" ]]; then
if [[ "$WP_TRAVISCI" == "test:php" ]]; then
npm run test:php -- --verbose -c phpunit.xml.dist &&
npm run test:php -- --verbose -c phpunit.xml.dist --group ajax &&
npm run test:php -- --verbose -c tests/phpunit/multisite.xml &&