Build/Test tools: Don't install PHPUnit on the `travis:js` builds. Saves a couple of minutes of build time.

See #40100


git-svn-id: https://develop.svn.wordpress.org/trunk@40271 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-03-10 23:56:07 +00:00
parent 0a1782bb45
commit 5d65051985
1 changed files with 20 additions and 18 deletions

View File

@ -65,6 +65,7 @@ before_script:
fi
- |
# Install the specified version of PHPUnit depending on the PHP version:
if [[ "$WP_TRAVISCI" == "travis:phpunit" ]]; then
case "$TRAVIS_PHP_VERSION" in
7.1|7.0|hhvm|nightly)
echo "Using PHPUnit 5.7"
@ -83,6 +84,7 @@ before_script:
exit 1
;;
esac
fi
- npm --version
- node --version
- nvm install 6.9.1