From 6f3fd7834a60e176d7734b786cfd1df6b764ed5e Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Sun, 20 Sep 2015 21:17:42 +0800 Subject: [PATCH] Specify phpunit dev dependency in composer.json And use it for the travis build. --- .travis.yml | 4 +++- composer.json | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 05db2988..b8eee4ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file diff --git a/composer.json b/composer.json index 9bccb390..779101cf 100644 --- a/composer.json +++ b/composer.json @@ -13,6 +13,9 @@ "php": ">=5.4", "ext-tokenizer": "*" }, + "require-dev": { + "phpunit/phpunit": "~4.0" + }, "autoload": { "psr-4": { "PhpParser\\": "lib/PhpParser"