Make WordPress Core


Ignore:
Timestamp:
11/06/2020 05:24:43 PM (6 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.1 branch.
See #48301, #47767.

Location:
branches/5.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.1

  • branches/5.1/package.json

    r49462 r49528  
    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",
    … …  
    111114        },
    112115        "scripts": {
    113                 "grunt": "grunt"
     116                "build": "grunt build",
     117                "build:dev": "grunt build --dev",
     118                "dev": "grunt watch --dev",
     119                "test": "grunt test",
     120                "watch": "grunt watch",
     121                "grunt": "grunt",
     122                "env:start": "node ./tools/local-env/scripts/start.js",
     123                "env:stop": "node ./tools/local-env/scripts/docker.js down",
     124                "env:restart": "npm run env:stop && npm run env:start",
     125                "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     126                "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
     127                "env:install": "node ./tools/local-env/scripts/install.js",
     128                "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
     129                "env:logs": "node ./tools/local-env/scripts/docker.js logs",
     130                "env:pull": "node ./tools/local-env/scripts/docker.js pull",
     131                "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
    114132        }
    115133}
Note: See TracChangeset for help on using the changeset viewer.