Make WordPress Core

Ticket #40086: 40086.diff

File 40086.diff, 724 bytes (added by johnbillion, 8 years ago)
  • .travis.yml

    diff --git a/.travis.yml b/.travis.yml
    index 397e773a0e..8a490c25bd 100644
    a b before_install: 
    5353  fi
    5454before_script:
    5555- stable='^[0-9\.]+$'; if [[ "$TRAVIS_PHP_VERSION" =~ $stable ]]; then phpenv config-rm xdebug.ini; fi
     56- export PATH="$HOME/.composer/vendor/bin:$PATH"
     57- |
     58  if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then
     59    composer global require "phpunit/phpunit=5.7.*"
     60  else
     61    composer global require "phpunit/phpunit=4.8.*"
     62  fi
    5663- npm install -g npm
    5764- npm install -g grunt-cli
    5865- npm install
    before_script: 
    6269- php --version
    6370- npm --version
    6471- node --version
     72- phpunit --version
    6573script: grunt $WP_TRAVISCI
    6674notifications:
    6775  slack: