Specify phpunit dev dependency in composer.json

And use it for the travis build.
This commit is contained in:
Dmitry Patsura 2015-09-20 21:17:42 +08:00 committed by Nikita Popov
parent eecaf1e93b
commit 6f3fd7834a
2 changed files with 6 additions and 1 deletions

View File

@ -10,9 +10,11 @@ php:
- nightly
- hhvm
install: composer install
install: composer install --prefer-source
matrix:
allow_failures:
- php: nightly
fast_finish: true
script: vendor/bin/phpunit

View File

@ -13,6 +13,9 @@
"php": ">=5.4",
"ext-tokenizer": "*"
},
"require-dev": {
"phpunit/phpunit": "~4.0"
},
"autoload": {
"psr-4": {
"PhpParser\\": "lib/PhpParser"