Skip to:
Content

BuddyPress.org

Changeset 11508


Ignore:
Timestamp:
03/10/2017 05:01:10 AM (8 years ago)
Author:
netweb
Message:

Build/Test Tools: Update .travis.yml to explicitly use PHPUnit 5.7 for the PHP 7 builds on Travis.

  • Add some more debugging to Travis.

Fixes #7464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.travis.yml

    r11391 r11508  
    6565    - php: hhvm
    6666    - env: WP_VERSION=master BP_TRAVISCI=travis:codecoverage
    67 
    6867# before_install: Failures in this section will result in build status 'errored'
    6968before_install:
     
    101100  - phpenv versions
    102101  - ruby --version
     102  - php --version
     103  - php -m
     104  - phpunit --version
     105  - curl --version
     106  - grunt --version
     107  - git --version
     108  - svn --version
    103109
    104110# before_script: Failures in this section will result in build status 'errored'
    105111before_script:
     112  - export PATH="$HOME/.composer/vendor/bin:$PATH"
     113  - |
     114  if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
     115    composer global require "phpunit/phpunit=5.7.*"
     116  elif [[ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]]; then
     117    composer global require "phpunit/phpunit=4.8.*"
     118  fi
    106119  - npm install
    107 
    108120# Run tests
    109121script: grunt $BP_TRAVISCI
Note: See TracChangeset for help on using the changeset viewer.