Changeset 45058 for trunk/.travis.yml
- Timestamp:
- 03/28/2019 09:11:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.travis.yml
r45027 r45058 27 27 env: WP_TEST_REPORTER=true 28 28 - php: 5.6 29 - php: 5.530 - php: 5.431 - php: 5.332 dist: precise33 - php: 5.234 dist: precise35 29 - php: nightly 36 30 allow_failures: 37 - php: 5.538 - php: 5.439 - php: 5.340 dist: precise41 - php: 5.242 dist: precise43 31 - php: 7.4snapshot 44 32 - php: nightly … … 69 57 - | 70 58 # Export Composer's global bin dir to PATH, but not on PHP 5.2: 71 if [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then 72 composer config --list --global 73 export PATH=`composer config --list --global | grep '\[home\]' | { read a; echo "${a#* }/vendor/bin:$PATH"; }` 74 fi 59 composer config --list --global 60 export PATH=`composer config --list --global | grep '\[home\]' | { read a; echo "${a#* }/vendor/bin:$PATH"; }` 75 61 - | 76 62 # Install the specified version of PHPUnit depending on the PHP version: … … 85 71 travis_retry composer global require "phpunit/phpunit:^6" 86 72 ;; 87 5.6 |5.5|5.4|5.3)73 5.6) 88 74 echo "Using PHPUnit 4.x" 89 75 travis_retry composer global require "phpunit/phpunit:^4" 90 ;;91 5.2)92 # Do nothing, use default PHPUnit 3.6.x93 echo "Using default PHPUnit, hopefully 3.6"94 76 ;; 95 77 *)
Note: See TracChangeset
for help on using the changeset viewer.