Make WordPress Core

Ticket #51853: 51853.diff

File 51853.diff, 1.5 KB (added by desrosj, 4 years ago)
  • .travis.yml

     
    2929
    3030jobs:
    3131  include:
    32   - env: WP_TRAVISCI=test:e2e LOCAL_PHPUNIT=latest PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
    33     name: E2E Tests
    3432  - env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
    3533    name: PHP Linting
    3634  - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false
     
    9896    npm ci
    9997  fi
    10098- |
    101   if [[ "$WP_TRAVISCI" == "test:e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then
     99  if [[ "$WP_TRAVISCI" == "test:php" ]]; then
    102100    npm run env:start
    103101    npm run build
    104102    docker-compose run --rm mysql mysql --version
     
    108106- |
    109107  if [[ ${LOCAL_PHP:0:3} == "8.0" ]]; then
    110108    docker-compose run --rm phpunit php ./vendor/bin/phpunit --version
    111   elif [[ "$WP_TRAVISCI" == "test:e2e" ]] || [[ "$WP_TRAVISCI" == "test:php" ]]; then
     109  elif [[ "$WP_TRAVISCI" == "test:php" ]]; then
    112110    docker-compose run --rm phpunit phpunit --version
    113111  fi
    114112- |
     
    133131
    134132script:
    135133  - |
    136     if [[ "$WP_TRAVISCI" == "test:e2e" ]]; then
    137       npm run test:e2e
    138     elif [[ "$WP_TRAVISCI" == "test:php" ]]; then
     134    if [[ "$WP_TRAVISCI" == "test:php" ]]; then
    139135      npm run test:php -- --verbose -c phpunit.xml.dist &&
    140136      npm run test:php -- --verbose -c phpunit.xml.dist --group ajax &&
    141137      npm run test:php -- --verbose -c tests/phpunit/multisite.xml &&