This repository was archived by the owner on Apr 5, 2020. It is now read-only.
File tree 4 files changed +56
-0
lines changed
4 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ * .zip
Original file line number Diff line number Diff line change
1
+ language : php
2
+ sudo : false
3
+
4
+ php :
5
+ - 7.0
6
+ - 5.6
7
+ - 5.5
8
+ - 5.4
9
+ - 5.3
10
+
11
+ env :
12
+ global :
13
+ - PLUGIN=Jabber
14
+ - KANBOARD_REPO=https://github.com/fguillot/kanboard.git
15
+ matrix :
16
+ - DB=sqlite
17
+ - DB=mysql
18
+ - DB=postgres
19
+
20
+ matrix :
21
+ fast_finish : true
22
+
23
+ install :
24
+ - git clone --depth 1 $KANBOARD_REPO
25
+ - ln -s $TRAVIS_BUILD_DIR kanboard/plugins/$PLUGIN
26
+
27
+ before_script :
28
+ - cd kanboard
29
+ - phpenv config-add tests/php.ini
30
+ - composer install
31
+ - ls -la plugins/
32
+
33
+ script :
34
+ - phpunit -c tests/units.$DB.xml plugins/$PLUGIN/Test/
Original file line number Diff line number Diff line change 1
1
Jabber/XMPP plugin for Kanboard
2
2
===============================
3
3
4
+ [ ![ Build Status] ( https://travis-ci.org/kanboard/plugin-jabber.svg?branch=master )] ( https://travis-ci.org/kanboard/plugin-jabber )
5
+
4
6
Receive Kanboard notifications on Jabber.
5
7
6
8
Author
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ require_once 'tests/units/Base.php ' ;
4
+
5
+ use Kanboard \Plugin \Jabber \Plugin ;
6
+
7
+ class PluginTest extends Base
8
+ {
9
+ public function testPlugin ()
10
+ {
11
+ $ plugin = new Plugin ($ this ->container );
12
+ $ this ->assertSame (null , $ plugin ->initialize ());
13
+ $ this ->assertNotEmpty ($ plugin ->getPluginName ());
14
+ $ this ->assertNotEmpty ($ plugin ->getPluginDescription ());
15
+ $ this ->assertNotEmpty ($ plugin ->getPluginAuthor ());
16
+ $ this ->assertNotEmpty ($ plugin ->getPluginVersion ());
17
+ $ this ->assertNotEmpty ($ plugin ->getPluginHomepage ());
18
+ }
19
+ }
You can’t perform that action at this time.
0 commit comments