Make WordPress Core

Changeset 45570 for trunk/.travis.yml


Ignore:
Timestamp:
06/27/2019 11:26:58 AM (5 years ago)
Author:
youknowriad
Message:

Build/Test Tools: Add the e2e tests setup.

  • Adds a local environment based on docker
  • Adds the e2e tests setup
  • Adds a "Hello World" e2e test to serve as a template

Props gziolo, herregroen, mcsf.
Fixes #45165.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r45445 r45570  
    1313matrix:
    1414  include:
     15  - php: 7.2
     16    env: WP_TRAVISCI=e2e
    1517  - php: 7.2
    1618    env: WP_TRAVISCI=travis:format
     
    104106- svn --version
    105107- locale -a
    106 script: npm run grunt $WP_TRAVISCI
     108script:
     109- |
     110  if [[ "$WP_TRAVISCI" == "e2e" ]]; then
     111    npm run env:start
     112    npm run env:reset-site
     113    npm run test:e2e
     114  else
     115    npm run grunt $WP_TRAVISCI
     116  fi
    107117after_script:
    108118- |
Note: See TracChangeset for help on using the changeset viewer.