Skip to content

Commit 2a2dcd9

Browse files
authored
Merge pull request #492 from nextcloud/update-master-php-testing-versions
Update master php testing versions
2 parents 5de8f9b + f7ca856 commit 2a2dcd9

12 files changed

Lines changed: 34 additions & 27 deletions

File tree

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ dist: trusty
22
sudo: required
33
language: php
44
php:
5-
- 7.1
65
- 7.2
76
- 7.3
7+
- 7.4snapshot
88
services:
99
- mysql
1010
- postgresql
@@ -23,7 +23,7 @@ cache:
2323

2424
env:
2525
global:
26-
- CORE_BRANCH=master
26+
- CORE_BRANCH=bugfix/noid/broken-oracle-install
2727
- APP_NAME=notifications
2828
matrix:
2929
- DB=sqlite
@@ -34,7 +34,7 @@ branches:
3434
- /^stable\d+(\.\d+)?$/
3535

3636
before_install:
37-
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh
37+
- wget https://raw.githubusercontent.com/nextcloud/travis_ci/oracle-support/before_install.sh
3838
- . ./before_install.sh $APP_NAME $CORE_BRANCH $DB
3939
- sh -c "if [ -f ../server/data/nextcloud.log ]; then cat ../server/data/nextcloud.log; fi"
4040

@@ -72,17 +72,17 @@ script:
7272

7373
matrix:
7474
include:
75-
- php: 7.1
75+
- php: 7.3
7676
env: DB=mysql
77-
- php: 7.1
77+
- php: 7.3
7878
env: DB=pgsql
79-
- php: 7.1
79+
- php: 7.3
8080
env: DB=oracle
81-
- php: 7.1
81+
- php: 7.3
8282
env: DB=mysql;CODECHECK=1
83-
- php: 7.1
83+
- php: 7.3
8484
env: DB=mysql;CODECHECK=2
85-
- php: 7.1
85+
- php: 7.2
8686
env: DB=mysql;INTEGRATION=1
8787
allow_failures:
8888
- env: DB=mysql;CODECHECK=2
Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
<?xml version="1.0"?>
2-
<info>
2+
<info xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:noNamespaceSchemaLocation="https://apps.nextcloud.com/schema/apps/info.xsd">
34
<id>notificationsintegrationtesting</id>
45
<name>Notifications Integration Testing</name>
5-
<namespace>NotificationsIntegrationTesting</namespace>
6-
<description/>
6+
<summary><![CDATA[1]]></summary>
7+
<description><![CDATA[2]]></description>
78

8-
<licence>AGPL</licence>
9-
<author>Joas Schilling</author>
109
<version>0.2.3</version>
10+
<licence>agpl</licence>
11+
<author>Joas Schilling</author>
12+
<namespace>NotificationsIntegrationTesting</namespace>
1113

1214
<types>
1315
<logging/>
1416
</types>
1517

18+
<category>tools</category>
19+
20+
<website>https://github.com/nextcloud/notifications</website>
21+
<bugs>https://github.com/nextcloud/notifications/issues</bugs>
22+
<repository>https://github.com/nextcloud/notifications.git</repository>
23+
1624
<dependencies>
17-
<owncloud min-version="9.0" />
18-
<owncloud max-version="9.2" />
25+
<nextcloud min-version="18" max-version="18" />
1926
</dependencies>
2027
</info>

tests/Unit/AppInfo/AppTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class AppTest extends TestCase {
4444
/** @var IUserSession|\PHPUnit_Framework_MockObject_MockObject */
4545
protected $session;
4646

47-
protected function setUp() {
47+
protected function setUp(): void {
4848
parent::setUp();
4949

5050
$this->manager = $this->createMock(IManager::class);
@@ -56,7 +56,7 @@ protected function setUp() {
5656
$this->overwriteService('UserSession', $this->session);
5757
}
5858

59-
protected function tearDown() {
59+
protected function tearDown(): void {
6060
$this->restoreService('NotificationManager');
6161
$this->restoreService('Request');
6262
$this->restoreService('UserSession');

tests/Unit/AppInfo/ApplicationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ApplicationTest extends TestCase {
4747
/** @var IAppContainer */
4848
protected $container;
4949

50-
protected function setUp() {
50+
protected function setUp(): void {
5151
parent::setUp();
5252
$this->app = new Application();
5353
$this->container = $this->app->getContainer();

tests/Unit/AppTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class AppTest extends TestCase {
3939
/** @var App */
4040
protected $app;
4141

42-
protected function setUp() {
42+
protected function setUp(): void {
4343
parent::setUp();
4444

4545
$this->handler = $this->createMock(Handler::class);

tests/Unit/Command/GenerateTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class GenerateTest extends \Test\TestCase {
4848
/** @var Generate */
4949
protected $command;
5050

51-
protected function setUp() {
51+
protected function setUp(): void {
5252
parent::setUp();
5353

5454
$this->timeFactory = $this->createMock(ITimeFactory::class);

tests/Unit/Controller/APIControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class APIControllerTest extends \Test\TestCase {
4949
/** @var APIController */
5050
protected $controller;
5151

52-
protected function setUp() {
52+
protected function setUp(): void {
5353
parent::setUp();
5454

5555
/** @var IRequest|\PHPUnit_Framework_MockObject_MockObject $request */

tests/Unit/Controller/EndpointControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class EndpointControllerTest extends TestCase {
6363
/** @var Push|MockObject */
6464
protected $push;
6565

66-
protected function setUp() {
66+
protected function setUp(): void {
6767
parent::setUp();
6868

6969
$this->request = $this->createMock(IRequest::class);

tests/Unit/Controller/PushControllerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class PushControllerTest extends TestCase {
108108
';
109109

110110

111-
protected function setUp() {
111+
protected function setUp(): void {
112112
parent::setUp();
113113

114114
$this->request = $this->createMock(IRequest::class);

tests/Unit/HandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class HandlerTest extends TestCase {
3838
/** @var Handler */
3939
protected $handler;
4040

41-
protected function setUp() {
41+
protected function setUp(): void {
4242
parent::setUp();
4343

4444
$this->handler = new Handler(

0 commit comments

Comments
 (0)