From b7f20c0f36dd6e0ed65ca93fcec44aa23f2fa203 Mon Sep 17 00:00:00 2001 From: Daniel Schaal Date: Tue, 6 Jun 2017 18:20:20 +0200 Subject: Fix travis build (#178) * Use stable12 branch for travis * Shorten db indices to max 27 characters to satisfy app:check-code * Use precise container, downgrade to psql 9.4 * Create psql role * Fix ContentController test * Fix PageController and StatusService tests * Use OCP\IDBConnection, OCP\IDb was removed * Extend IntegrationTest from \Test\Testcase, use loginAsUser to login * Require phpunit 5, nextcloud tests not compatible with phpunit 6 Change tests to use phpunit from vendor directory --- composer.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 578edada1..2fe0d6ab4 100644 --- a/composer.json +++ b/composer.json @@ -33,5 +33,8 @@ "fguillot/picofeed": "0.1.33", "pear/net_url2": "2.2.1", "riimu/kit-pathjoin": "1.1.2" + }, + "require-dev": { + "phpunit/phpunit": "^5.4" } } -- cgit v1.2.3