mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-06-21 23:32:59 +02:00
Specify phpunit dev dependency in composer.json
And use it for the travis build.
This commit is contained in:
committed by
Nikita Popov
parent
eecaf1e93b
commit
6f3fd7834a
@ -10,9 +10,11 @@ php:
|
|||||||
- nightly
|
- nightly
|
||||||
- hhvm
|
- hhvm
|
||||||
|
|
||||||
install: composer install
|
install: composer install --prefer-source
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- php: nightly
|
- php: nightly
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
|
script: vendor/bin/phpunit
|
@ -13,6 +13,9 @@
|
|||||||
"php": ">=5.4",
|
"php": ">=5.4",
|
||||||
"ext-tokenizer": "*"
|
"ext-tokenizer": "*"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.0"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"PhpParser\\": "lib/PhpParser"
|
"PhpParser\\": "lib/PhpParser"
|
||||||
|
Reference in New Issue
Block a user