Changeset 40271
- Timestamp:
- 03/10/2017 11:56:07 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r40269 r40271 66 66 - | 67 67 # Install the specified version of PHPUnit depending on the PHP version: 68 case "$TRAVIS_PHP_VERSION" in 69 7.1|7.0|hhvm|nightly) 70 echo "Using PHPUnit 5.7" 71 composer global require "phpunit/phpunit=5.7.*" 72 ;; 73 5.6|5.5|5.4|5.3) 74 echo "Using PHPUnit 4.8" 75 composer global require "phpunit/phpunit=4.8.*" 76 ;; 77 5.2) 78 # Do nothing, use default PHPUnit 3.6.x 79 echo "Using default PHPUnit, hopefully 3.6" 80 ;; 81 *) 82 echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION" 83 exit 1 84 ;; 85 esac 68 if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then 69 case "$TRAVIS_PHP_VERSION" in 70 7.1|7.0|hhvm|nightly) 71 echo "Using PHPUnit 5.7" 72 composer global require "phpunit/phpunit=5.7.*" 73 ;; 74 5.6|5.5|5.4|5.3) 75 echo "Using PHPUnit 4.8" 76 composer global require "phpunit/phpunit=4.8.*" 77 ;; 78 5.2) 79 # Do nothing, use default PHPUnit 3.6.x 80 echo "Using default PHPUnit, hopefully 3.6" 81 ;; 82 *) 83 echo "No PHPUnit version handling for PHP version $TRAVIS_PHP_VERSION" 84 exit 1 85 ;; 86 esac 87 fi 86 88 - npm --version 87 89 - node --version
Note: See TracChangeset
for help on using the changeset viewer.