Changeset 49366
- Timestamp:
- 10/29/2020 12:02:45 AM (5 years ago)
- Location:
- branches/5.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/.env
r45783 r49366 4 4 # All of these options can be overriden by setting them as environment variables before starting 5 5 # the environment. You will need to restart your environment when changing any of these. 6 # 7 # Below, the following substitutions can be made: 8 # - '{version}': any major.minor PHP version from 5.2 onwards. 9 # - '{phpunit_version}': any major PHPUnit version starting with 4. 6 10 ## 7 11 … … 12 16 LOCAL_DIR=src 13 17 14 # The PHP version to use. Valid options are 'latest', and '{version}-fpm', where '{version}' is any 15 # x.y PHP version from 5.2 onwards. 18 # The PHP version to use. Valid options are 'latest', and '{version}-fpm'. 16 19 LOCAL_PHP=latest 20 21 ## 22 # The PHPUnit version to use when running tests. 23 # 24 # Support for new PHPUnit versions is not backported to past versions, so some old WordPress branches require an older 25 # version to run tests. 26 # 27 # Valid versions are: 28 # - 'latest' for the highest version of PHPUnit supported on the highest version of PHP supported. 29 # - '{version}-fpm' for the highest version of PHPUnit supported on the specified version of PHP. 30 # - '{phpunit_version}-php-{version}-fpm' for a specific version of PHPUnit on the specified version of PHP. This format 31 # is only available for PHP versions 5.6 and higher. 32 # 33 # For the full list of available options, see https://hub.docker.com/r/wordpressdevelop/phpunit/tags. 34 # 35 # For full documentation on PHPUnit compatibility and WordPress versions, see 36 # https://make.wordpress.org/core/handbook/references/phpunit-compatibility-and-wordpress-versions/. 37 # 38 # This defaults to the value assigned to the value of LOCAL_PHP. 39 ## 40 LOCAL_PHPUNIT=${LOCAL_PHP} 17 41 18 42 # Whether or not to enable XDebug. -
branches/5.3/.travis.yml
r49279 r49366 26 26 matrix: 27 27 include: 28 - env: WP_TRAVISCI=test:e2e 28 - env: WP_TRAVISCI=test:e2e LOCAL_PHPUNIT=7.4-fpm 29 29 name: E2E Tests 30 30 - env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false … … 34 34 - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false 35 35 name: "PHP Compatibility Check" 36 - env: LOCAL_PHP=7.4-fpm WP_TRAVISCI=test:php36 - env: LOCAL_PHP=7.4-fpm LOCAL_PHPUNIT=7.4-fpm WP_TRAVISCI=test:php 37 37 name: "PHPUnit Tests: PHP 7.4" 38 - env: LOCAL_PHP=7.3-fpm WP_TRAVISCI=test:php38 - env: LOCAL_PHP=7.3-fpm LOCAL_PHPUNIT=7.3-fpm WP_TRAVISCI=test:php 39 39 name: "PHPUnit Tests: PHP 7.3" 40 - env: LOCAL_PHP=7.3-fpm LOCAL_PHP _MEMCACHED=true WP_TRAVISCI=test:php40 - env: LOCAL_PHP=7.3-fpm LOCAL_PHPUNIT=7.3-fpm LOCAL_PHP_MEMCACHED=true WP_TRAVISCI=test:php 41 41 name: "PHPUnit Tests: PHP 7.3 with Memcached" 42 - env: LOCAL_PHP=7.2-fpm WP_TRAVISCI=test:php42 - env: LOCAL_PHP=7.2-fpm LOCAL_PHPUNIT=7.2-fpm WP_TRAVISCI=test:php 43 43 name: "PHPUnit Tests: PHP 7.2" 44 - env: LOCAL_PHP=7.1-fpm WP_TRAVISCI=test:php44 - env: LOCAL_PHP=7.1-fpm LOCAL_PHPUNIT=7.1-fpm WP_TRAVISCI=test:php 45 45 name: "PHPUnit Tests: PHP 7.1" 46 - env: LOCAL_PHP=7.0-fpm WP_TEST_REPORTER=true WP_TRAVISCI=test:php46 - env: LOCAL_PHP=7.0-fpm LOCAL_PHPUNIT=7.0-fpm WP_TEST_REPORTER=true WP_TRAVISCI=test:php 47 47 name: "PHPUnit Tests: PHP 7.0" 48 - env: LOCAL_PHP=5.6-fpm WP_TRAVISCI=test:php48 - env: LOCAL_PHP=5.6-fpm LOCAL_PHPUNIT=5.6-fpm WP_TRAVISCI=test:php 49 49 name: "PHPUnit Tests: PHP 5.6" 50 - env: LOCAL_PHP=8.0-fpm WP_TRAVISCI=test:php50 - env: LOCAL_PHP=8.0-fpm LOCAL_PHPUNIT=8.0-fpm WP_TRAVISCI=test:php 51 51 name: "PHPUnit Tests: PHP 8.0" 52 52 allow_failures: 53 53 - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false 54 - env: LOCAL_PHP=8.0-fpm WP_TRAVISCI=test:php54 - env: LOCAL_PHP=8.0-fpm LOCAL_PHPUNIT=8.0-fpm WP_TRAVISCI=test:php 55 55 fast_finish: true 56 56 -
branches/5.3/docker-compose.yml
r47125 r49366 94 94 ## 95 95 phpunit: 96 image: wordpressdevelop/phpunit:${LOCAL_PHP -latest}96 image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest} 97 97 98 98 networks: -
branches/5.3/package-lock.json
r47990 r49366 7194 7194 }, 7195 7195 "dotenv": { 7196 "version": "8. 1.0",7197 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8. 1.0.tgz",7198 "integrity": "sha512- GUE3gqcDCaMltj2++g6bRQ5rBJWtkWTmqmD0fo1RnnMuUqHNCt2oTPeDnS9n6fKYvlhn7AeBkb38lymBtWBQdA==",7196 "version": "8.2.0", 7197 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", 7198 "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==", 7199 7199 "dev": true 7200 7200 }, -
branches/5.3/package.json
r49279 r49366 34 34 "copy-webpack-plugin": "^5.0.4", 35 35 "cssnano": "4.1.10", 36 "dotenv": "8. 1.0",36 "dotenv": "8.2.0", 37 37 "dotenv-expand": "5.1.0", 38 38 "grunt": "~1.0.4", -
branches/5.3/tools/local-env/scripts/docker.js
r45783 r49366 1 const dotenv = require( 'dotenv' ); 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 2 3 const { execSync } = require( 'child_process' ); 3 dotenv.config(); 4 5 dotenvExpand( dotenv.config() ); 4 6 5 7 // Execute any docker-compose command passed to this script. -
branches/5.3/tools/local-env/scripts/install.js
r49342 r49366 1 const dotenv = require( 'dotenv' ); 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 2 3 const wait_on = require( 'wait-on' ); 3 4 const { execSync } = require( 'child_process' ); 4 5 const { renameSync, readFileSync, writeFileSync } = require( 'fs' ); 5 6 6 dotenv .config();7 dotenvExpand( dotenv.config() ); 7 8 8 9 // Create wp-config.php. -
branches/5.3/tools/local-env/scripts/start.js
r45819 r49366 1 const dotenv = require( 'dotenv' ); 1 const dotenv = require( 'dotenv' ); 2 const dotenvExpand = require( 'dotenv-expand' ); 2 3 const { execSync } = require( 'child_process' ); 3 4 4 dotenv .config();5 dotenvExpand( dotenv.config() ); 5 6 6 7 // Start the local-env containers.
Note: See TracChangeset
for help on using the changeset viewer.