From 1280f49a291714944dbb450dff1ed70975c7dc90 Mon Sep 17 00:00:00 2001 From: Greg Sherwood Date: Tue, 14 Mar 2017 12:25:19 +1100 Subject: [PATCH] Testing composer install for correct PHPUnit version (ref #1383) --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a46cc13357..2765380d36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,8 +25,9 @@ before_script: - if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" || $TRAVIS_PHP_VERSION == "nightly" ]]; then phpenv config-add php7-testingConfig.ini; fi script: + - composer install - if [[ $TRAVIS_PHP_VERSION != hhv* ]]; then php scripts/phpcs --config-set php_path php; fi - - phpunit tests/AllTests.php + - vendor/bin/phpunit tests/AllTests.php - php scripts/phpcs CodeSniffer.php CodeSniffer --standard=PHPCS --report=full -np - if [[ $TRAVIS_PHP_VERSION != hhv* && ${TRAVIS_PHP_VERSION:0:1} != "7" ]]; then pear package-validate package.xml; fi - if [[ $TRAVIS_PHP_VERSION != hhv* ]]; then php scripts/build-phar.php; fi