Skip to content

Commit

Permalink
Testing composer install for correct PHPUnit version (ref squizlabs#1383
Browse files Browse the repository at this point in the history
)
  • Loading branch information
gsherwood committed Mar 14, 2017
1 parent 83de17d commit 1280f49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1280f49

Please sign in to comment.