Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: add notifications for e-mail and irc
Destinations: - mantisbt-cvs mailing list - #mantisbt irc channel Build failures are always sent, and build success only when status changes to reduce spam. Fixes #16175
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
|
||
$s = new SoapClient( 'http://localhost/mantis/api/soap/mantisconnect.php?wsdl' ); | ||
$u = 'administrator'; | ||
$p = 'root'; | ||
$id = $s->mc_login($u,$p)->account_data->id; | ||
$proj= 1; | ||
|
||
echo $id = $categoryList = $s->mc_project_add_category($u,$p, $proj, 'cat') . "\n"; | ||
$categoryList = $s->mc_project_get_categories($u,$p, $proj); | ||
var_dump($categoryList); | ||
echo $id = $s->mc_project_delete_category($u,$p, $proj, 'cat'). "\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<?php | ||
include('core.php'); | ||
var_dump(category_get_id_by_name('cat',1)); |