Make WordPress Core


Ignore:
Timestamp:
02/08/2021 08:50:12 PM (4 years ago)
Author:
desrosj
Message:

Build/Test Tools: Backport the local Docker environment to the 4.5 branch.

This commit introduces the Docker-based local WordPress development environment to the 4.5 branch and converts the Travis test jobs to utilize this environment for easier and more consistent testing.

Merges [44176,45445,45745,45762,45783-45784,45800,45819,45885,46320,46999,47225,47912,48121,49267,49335,49358,49360,49362] to the 4.5 branch.
See #48301, #47767.

Location:
branches/4.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.5

  • branches/4.5/package.json

    r50208 r50243  
    2424    "devDependencies": {
    2525        "autoprefixer": "^9.8.6",
     26        "dotenv": "^8.2.0",
     27        "dotenv-expand": "^5.1.0",
    2628        "grunt": "~1.3.0",
    2729        "grunt-browserify": "~5.3.0",
     
    4446        "grunt-sass": "~3.1.0",
    4547        "matchdep": "~2.0.0",
    46         "sass": "^1.32.6"
     48        "sass": "^1.32.6",
     49        "wait-on": "5.2.1"
     50    },
     51    "scripts": {
     52        "build": "grunt build",
     53        "test": "grunt test",
     54        "watch": "grunt watch",
     55        "grunt": "grunt",
     56        "env:start": "node ./tools/local-env/scripts/start.js",
     57        "env:stop": "node ./tools/local-env/scripts/docker.js down",
     58        "env:restart": "npm run env:stop && npm run env:start",
     59        "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     60        "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
     61        "env:install": "node ./tools/local-env/scripts/install.js",
     62        "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
     63        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
     64        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
     65        "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
    4766    }
    4867}
Note: See TracChangeset for help on using the changeset viewer.