Make WordPress Core


Ignore:
Timestamp:
11/06/2020 05:17:17 PM (4 years ago)
Author:
desrosj
Message:

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

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

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

Location:
branches/5.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.2

  • branches/5.2/package.json

    r49461 r49527  
    2020        "copy-webpack-plugin": "^4.6.0",
    2121        "cssnano": "4.1.8",
     22        "dotenv": "^8.2.0",
     23        "dotenv-expand": "^5.1.0",
    2224        "grunt": "~1.0.3",
    2325        "grunt-banner": "^0.6.0",
     
    4951        "uglify-js": "^3.4.9",
    5052        "uglifyjs-webpack-plugin": "2.1.1",
     53        "wait-on": "^3.3.0",
    5154        "webpack": "4.29.2",
    5255        "webpack-dev-server": "3.1.14",
     
    114117    },
    115118    "scripts": {
    116         "grunt": "grunt"
     119        "build": "grunt build",
     120        "build:dev": "grunt build --dev",
     121        "dev": "grunt watch --dev",
     122        "test": "grunt test",
     123        "watch": "grunt watch",
     124        "grunt": "grunt",
     125        "env:start": "node ./tools/local-env/scripts/start.js",
     126        "env:stop": "node ./tools/local-env/scripts/docker.js down",
     127        "env:restart": "npm run env:stop && npm run env:start",
     128        "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     129        "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
     130        "env:install": "node ./tools/local-env/scripts/install.js",
     131        "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
     132        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
     133        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
     134        "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
    117135    }
    118136}
Note: See TracChangeset for help on using the changeset viewer.