Make WordPress Core


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

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

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

Until existing blockers with the PHP 5.2 Docker container can be solved, the PHP 5.2 test job will remain using the Travis precise image.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.7/package.json

    r49417 r49532  
    1414  "devDependencies": {
    1515    "autoprefixer": "^6.5.1",
     16    "dotenv": "^8.2.0",
     17    "dotenv-expand": "^5.1.0",
    1618    "grunt": "~0.4.5",
    1719    "grunt-browserify": "~5.0.0",
     20    "grunt-cli": "0.1.13",
    1821    "grunt-contrib-clean": "~1.0.0",
    1922    "grunt-contrib-compress": "~1.3.0",
     
    3336    "grunt-rtlcss": "~2.0.1",
    3437    "grunt-sass": "~1.2.1",
    35     "matchdep": "~1.0.0"
     38    "matchdep": "~1.0.0",
     39    "wait-on": "~3.2.0"
     40  },
     41  "scripts": {
     42    "build": "grunt build",
     43    "build:dev": "grunt build --dev",
     44    "dev": "grunt watch --dev",
     45    "test": "grunt test",
     46    "watch": "grunt watch",
     47    "grunt": "grunt",
     48    "env:start": "node ./tools/local-env/scripts/start.js",
     49    "env:stop": "node ./tools/local-env/scripts/docker.js down",
     50    "env:restart": "npm run env:stop && npm run env:start",
     51    "env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
     52    "env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
     53    "env:install": "node ./tools/local-env/scripts/install.js",
     54    "env:cli": "node ./tools/local-env/scripts/docker.js run cli",
     55    "env:logs": "node ./tools/local-env/scripts/docker.js logs",
     56    "env:pull": "node ./tools/local-env/scripts/docker.js pull",
     57    "test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
    3658  }
    3759}
Note: See TracChangeset for help on using the changeset viewer.