kopia lustrzana https://github.com/nextcloud/social
commit
23f15042d7
15
.drone.yml
15
.drone.yml
|
@ -2,10 +2,10 @@ kind: pipeline
|
|||
name: compatibility
|
||||
steps:
|
||||
- name: compatibility
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
image: nextcloudci/php7.1:php7.1-15
|
||||
environment:
|
||||
APP_NAME: social
|
||||
CORE_BRANCH: stable15
|
||||
CORE_BRANCH: stable17
|
||||
DB: sqlite
|
||||
commands:
|
||||
- composer install
|
||||
|
@ -23,11 +23,6 @@ trigger:
|
|||
kind: pipeline
|
||||
name: syntax
|
||||
steps:
|
||||
- name: syntax-php7.0
|
||||
image: nextcloudci/php7.0:php7.0-17
|
||||
commands:
|
||||
- composer install
|
||||
- ./vendor/bin/parallel-lint --exclude ./vendor/ .
|
||||
- name: syntax-php7.1
|
||||
image: nextcloudci/php7.1:php7.1-15
|
||||
commands:
|
||||
|
@ -57,7 +52,7 @@ steps:
|
|||
image: nextcloudci/php7.1:php7.1-16
|
||||
environment:
|
||||
APP_NAME: social
|
||||
CORE_BRANCH: stable15
|
||||
CORE_BRANCH: stable17
|
||||
DB: sqlite
|
||||
commands:
|
||||
- bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
|
||||
|
@ -78,7 +73,7 @@ steps:
|
|||
image: nextcloudci/php7.1:php7.1-16
|
||||
environment:
|
||||
APP_NAME: social
|
||||
CORE_BRANCH: stable15
|
||||
CORE_BRANCH: stable17
|
||||
DB: mysql
|
||||
commands:
|
||||
- bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
|
||||
|
@ -108,7 +103,7 @@ steps:
|
|||
image: nextcloudci/php7.1:php7.1-16
|
||||
environment:
|
||||
APP_NAME: social
|
||||
CORE_BRANCH: stable15
|
||||
CORE_BRANCH: stable17
|
||||
DB: postgres
|
||||
commands:
|
||||
- bash ./tests/drone-server-setup.sh $APP_NAME $CORE_BRANCH $DB
|
||||
|
|
|
@ -32,10 +32,10 @@
|
|||
<repository type="git">https://github.com/nextcloud/social.git</repository>
|
||||
<screenshot>https://raw.githubusercontent.com/nextcloud/social/master/img/screenshot.png</screenshot>
|
||||
<dependencies>
|
||||
<nextcloud min-version="17" max-version="19"/>
|
||||
<database>pgsql</database>
|
||||
<database>sqlite</database>
|
||||
<database>mysql</database>
|
||||
<nextcloud min-version="17" max-version="19"/>
|
||||
</dependencies>
|
||||
|
||||
<background-jobs>
|
||||
|
@ -66,10 +66,6 @@
|
|||
<command>OCA\Social\Command\QueueProcess</command>
|
||||
</commands>
|
||||
|
||||
<contactsmenu>
|
||||
<provider>OCA\Social\Providers\ContactsMenuProvider</provider>
|
||||
</contactsmenu>
|
||||
|
||||
<navigations>
|
||||
<navigation>
|
||||
<name>Social</name>
|
||||
|
@ -77,4 +73,8 @@
|
|||
<order>6</order>
|
||||
</navigation>
|
||||
</navigations>
|
||||
|
||||
<contactsmenu>
|
||||
<provider>OCA\Social\Providers\ContactsMenuProvider</provider>
|
||||
</contactsmenu>
|
||||
</info>
|
||||
|
|
|
@ -273,7 +273,7 @@ class MigrateAlpha3 extends Base {
|
|||
$output->write('Found ' . count($fullContent) . ' entries');
|
||||
$m = $copied = 0;
|
||||
foreach ($fullContent as $entry) {
|
||||
if ($m % 50 == 0) {
|
||||
if ($m % 50 === 0) {
|
||||
$output->write('.');
|
||||
}
|
||||
|
||||
|
|
|
@ -13,15 +13,7 @@ class SocialTest extends \PHPUnit\Framework\TestCase {
|
|||
/**
|
||||
* Dummy test to check if phpunit is working properly
|
||||
*/
|
||||
$socialPub = new SocialPubController(
|
||||
'admin',
|
||||
$this->createMock(IRequest::class),
|
||||
$this->createMock(IL10N::class),
|
||||
$this->createMock(CacheActorService::class),
|
||||
$this->createMock(NavigationController::class)
|
||||
);
|
||||
$socialPub->actor('123');
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue