From 9b85c801783e2fa2aa5357634537d029104cc828 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 12 Sep 2016 11:43:12 +1200 Subject: [PATCH] FIX: Use composer-aware phpunit to run tests. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SilverStripe now requires the phpunit autoloader to work, which means that a non-composer-installed copy of phpunit won’t work. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7bb0701..84d2a6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,4 +25,4 @@ before_script: - cd ~/builds/ss script: - - phpunit testsession/tests/unit/ + - vendor/bin/phpunit testsession/tests/unit/