Changeset 49364 for branches/5.4
- Timestamp:
- 10/28/2020 11:46:11 PM (5 years ago)
- Location:
- branches/5.4
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
-
branches/5.4/.env
r47021 r49364 4 4 # All of these options can be overridden 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.4/.travis.yml
r47460 r49364 27 27 matrix: 28 28 include: 29 - env: WP_TRAVISCI=test:e2e PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=29 - env: WP_TRAVISCI=test:e2e LOCAL_PHPUNIT=7.4-fpm PUPPETEER_SKIP_CHROMIUM_DOWNLOAD= 30 30 name: E2E Tests 31 31 - env: WP_TRAVISCI=lint:php COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false … … 35 35 - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false 36 36 name: "PHP Compatibility Check" 37 - env: LOCAL_PHP=7.4-fpm WP_TRAVISCI=test:php37 - env: LOCAL_PHP=7.4-fpm LOCAL_PHPUNIT=7.4-fpm WP_TRAVISCI=test:php 38 38 name: "PHPUnit Tests: PHP 7.4" 39 - env: LOCAL_PHP=7.3-fpm WP_TRAVISCI=test:php39 - env: LOCAL_PHP=7.3-fpm LOCAL_PHPUNIT=7.3-fpm WP_TRAVISCI=test:php 40 40 name: "PHPUnit Tests: PHP 7.3" 41 - env: LOCAL_PHP=7.3-fpm LOCAL_PHP _MEMCACHED=true WP_TRAVISCI=test:php41 - env: LOCAL_PHP=7.3-fpm LOCAL_PHPUNIT=7.3-fpm LOCAL_PHP_MEMCACHED=true WP_TRAVISCI=test:php 42 42 name: "PHPUnit Tests: PHP 7.3 with Memcached" 43 - env: LOCAL_PHP=7.2-fpm WP_TRAVISCI=test:php43 - env: LOCAL_PHP=7.2-fpm LOCAL_PHPUNIT=7.2-fpm WP_TRAVISCI=test:php 44 44 name: "PHPUnit Tests: PHP 7.2" 45 - env: LOCAL_PHP=7.1-fpm WP_TRAVISCI=test:php45 - env: LOCAL_PHP=7.1-fpm LOCAL_PHPUNIT=7.1-fpm WP_TRAVISCI=test:php 46 46 name: "PHPUnit Tests: PHP 7.1" 47 - env: LOCAL_PHP=7.0-fpm WP_TEST_REPORTER=true WP_TRAVISCI=test:php47 - env: LOCAL_PHP=7.0-fpm LOCAL_PHPUNIT=7.0-fpm WP_TEST_REPORTER=true WP_TRAVISCI=test:php 48 48 name: "PHPUnit Tests: PHP 7.0" 49 - env: LOCAL_PHP=5.6-fpm WP_TRAVISCI=test:php49 - env: LOCAL_PHP=5.6-fpm LOCAL_PHPUNIT=5.6-fpm WP_TRAVISCI=test:php 50 50 name: "PHPUnit Tests: PHP 5.6" 51 - env: LOCAL_PHP=8.0-fpm WP_TRAVISCI=test:php51 - env: LOCAL_PHP=8.0-fpm LOCAL_PHPUNIT=8.0-fpm WP_TRAVISCI=test:php 52 52 name: "PHPUnit Tests: PHP 8.0" 53 53 allow_failures: 54 54 - env: WP_TRAVISCI=test:compat COMPOSER_INSTALL=true NPM_INSTALL=false WP_INSTALL=false 55 - env: LOCAL_PHP=8.0-fpm WP_TRAVISCI=test:php55 - env: LOCAL_PHP=8.0-fpm LOCAL_PHPUNIT=8.0-fpm WP_TRAVISCI=test:php 56 56 fast_finish: true 57 57 -
branches/5.4/docker-compose.yml
r47225 r49364 97 97 ## 98 98 phpunit: 99 image: wordpressdevelop/phpunit:${LOCAL_PHP -latest}99 image: wordpressdevelop/phpunit:${LOCAL_PHPUNIT-latest} 100 100 101 101 networks: -
branches/5.4/package-lock.json
r48025 r49364 7176 7176 }, 7177 7177 "dotenv": { 7178 "version": "8. 1.0",7179 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8. 1.0.tgz",7180 "integrity": "sha512- GUE3gqcDCaMltj2++g6bRQ5rBJWtkWTmqmD0fo1RnnMuUqHNCt2oTPeDnS9n6fKYvlhn7AeBkb38lymBtWBQdA==",7178 "version": "8.2.0", 7179 "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-8.2.0.tgz", 7180 "integrity": "sha512-8sJ78ElpbDJBHNeBzUbUVLsqKdccaa/BXF1uPTw3GrvQTBgrQrtObr2mUrE38vzYd8cEv+m/JBfDLioYcfXoaw==", 7181 7181 "dev": true 7182 7182 }, -
branches/5.4/package.json
r48025 r49364 35 35 "copy-webpack-plugin": "^5.1.1", 36 36 "cssnano": "4.1.10", 37 "dotenv": "8. 1.0",37 "dotenv": "8.2.0", 38 38 "dotenv-expand": "5.1.0", 39 39 "grunt": "~1.0.4", -
branches/5.4/tools/local-env/scripts/docker.js
r46586 r49364 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.4/tools/local-env/scripts/install.js
r49341 r49364 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.4/tools/local-env/scripts/start.js
r46586 r49364 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.