Ticket #40548: 40548.diff
File 40548.diff, 7.8 KB (added by , 8 years ago) |
---|
-
branches/4.0/.travis.yml
34 34 # Before script, failures in this section will result in build status 'failed' 35 35 before_script: 36 36 - | 37 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:37 # Remove Xdebug for a huge performance increase, but not from nightly: 38 38 stable='^[0-9\.]+$' 39 39 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 40 40 phpenv config-rm xdebug.ini … … 49 49 # Install the specified version of PHPUnit depending on the PHP version: 50 50 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 51 51 case "$TRAVIS_PHP_VERSION" in 52 7.1|7.0| hhvm|nightly)52 7.1|7.0|nightly) 53 53 echo "Using PHPUnit 5.7" 54 54 composer global require "phpunit/phpunit=5.7.*" 55 55 ;; … … 74 74 - npm install 75 75 - npm prune 76 76 - php --version 77 - | 78 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 79 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 80 php -m 81 fi 77 - php -m 82 78 - npm --version 83 79 - node --version 84 80 - which phpunit -
branches/4.1/.travis.yml
34 34 # Before script, failures in this section will result in build status 'failed' 35 35 before_script: 36 36 - | 37 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:37 # Remove Xdebug for a huge performance increase, but not from nightly: 38 38 stable='^[0-9\.]+$' 39 39 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 40 40 phpenv config-rm xdebug.ini … … 49 49 # Install the specified version of PHPUnit depending on the PHP version: 50 50 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 51 51 case "$TRAVIS_PHP_VERSION" in 52 7.1|7.0| hhvm|nightly)52 7.1|7.0|nightly) 53 53 echo "Using PHPUnit 5.7" 54 54 composer global require "phpunit/phpunit=5.7.*" 55 55 ;; … … 74 74 - npm install 75 75 - npm prune 76 76 - php --version 77 - | 78 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 79 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 80 php -m 81 fi 77 - php -m 82 78 - npm --version 83 79 - node --version 84 80 - which phpunit -
branches/4.2/.travis.yml
27 27 fi 28 28 before_script: 29 29 - | 30 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:30 # Remove Xdebug for a huge performance increase, but not from nightly: 31 31 stable='^[0-9\.]+$' 32 32 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 33 33 phpenv config-rm xdebug.ini … … 42 42 # Install the specified version of PHPUnit depending on the PHP version: 43 43 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 44 44 case "$TRAVIS_PHP_VERSION" in 45 7.1|7.0| hhvm|nightly)45 7.1|7.0|nightly) 46 46 echo "Using PHPUnit 5.7" 47 47 composer global require "phpunit/phpunit=5.7.*" 48 48 ;; … … 67 67 - npm install 68 68 - npm prune 69 69 - php --version 70 - | 71 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 72 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 73 php -m 74 fi 70 - php -m 75 71 - npm --version 76 72 - node --version 77 73 - which phpunit -
branches/4.3/.travis.yml
27 27 fi 28 28 before_script: 29 29 - | 30 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:30 # Remove Xdebug for a huge performance increase, but not from nightly: 31 31 stable='^[0-9\.]+$' 32 32 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 33 33 phpenv config-rm xdebug.ini … … 42 42 # Install the specified version of PHPUnit depending on the PHP version: 43 43 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 44 44 case "$TRAVIS_PHP_VERSION" in 45 7.1|7.0| hhvm|nightly)45 7.1|7.0|nightly) 46 46 echo "Using PHPUnit 5.7" 47 47 composer global require "phpunit/phpunit=5.7.*" 48 48 ;; … … 67 67 - npm install 68 68 - npm prune 69 69 - php --version 70 - | 71 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 72 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 73 php -m 74 fi 70 - php -m 75 71 - npm --version 76 72 - node --version 77 73 - which phpunit -
branches/4.4/.travis.yml
37 37 fi 38 38 before_script: 39 39 - | 40 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:40 # Remove Xdebug for a huge performance increase, but not from nightly: 41 41 stable='^[0-9\.]+$' 42 42 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 43 43 phpenv config-rm xdebug.ini … … 52 52 # Install the specified version of PHPUnit depending on the PHP version: 53 53 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 54 54 case "$TRAVIS_PHP_VERSION" in 55 7.1|7.0| hhvm|nightly)55 7.1|7.0|nightly) 56 56 echo "Using PHPUnit 5.7" 57 57 composer global require "phpunit/phpunit=5.7.*" 58 58 ;; … … 77 77 - npm install 78 78 - npm prune 79 79 - php --version 80 - | 81 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 82 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 83 php -m 84 fi 80 - php -m 85 81 - npm --version 86 82 - node --version 87 83 - which phpunit -
branches/4.5/.travis.yml
37 37 fi 38 38 before_script: 39 39 - | 40 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:40 # Remove Xdebug for a huge performance increase, but not from nightly: 41 41 stable='^[0-9\.]+$' 42 42 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 43 43 phpenv config-rm xdebug.ini … … 52 52 # Install the specified version of PHPUnit depending on the PHP version: 53 53 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 54 54 case "$TRAVIS_PHP_VERSION" in 55 7.1|7.0| hhvm|nightly)55 7.1|7.0|nightly) 56 56 echo "Using PHPUnit 5.7" 57 57 composer global require "phpunit/phpunit=5.7.*" 58 58 ;; … … 79 79 - mysql --version 80 80 - phpenv versions 81 81 - php --version 82 - | 83 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 84 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 85 php -m 86 fi 82 - php -m 87 83 - npm --version 88 84 - node --version 89 85 - which phpunit -
branches/4.6/.travis.yml
37 37 fi 38 38 before_script: 39 39 - | 40 # Remove Xdebug for a huge performance increase, but not from nightly or hhvm:40 # Remove Xdebug for a huge performance increase, but not from nightly: 41 41 stable='^[0-9\.]+$' 42 42 if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then 43 43 phpenv config-rm xdebug.ini … … 52 52 # Install the specified version of PHPUnit depending on the PHP version: 53 53 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 54 54 case "$TRAVIS_PHP_VERSION" in 55 7.1|7.0| hhvm|nightly)55 7.1|7.0|nightly) 56 56 echo "Using PHPUnit 5.7" 57 57 composer global require "phpunit/phpunit=5.7.*" 58 58 ;; … … 79 79 - mysql --version 80 80 - phpenv versions 81 81 - php --version 82 - | 83 # Debug PHP extensions, but not on HHVM because the command hangs indefinitely: 84 if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then 85 php -m 86 fi 82 - php -m 87 83 - npm --version 88 84 - node --version 89 85 - which phpunit