Skip to content

Commit

Permalink
add sismo config
Browse files Browse the repository at this point in the history
  • Loading branch information
cordoval committed Apr 28, 2012
1 parent 01267a5 commit a596072
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions sismo.config.php
@@ -0,0 +1,20 @@
<?php

$notifier = new Sismo\Notifier\DBusNotifier();
$notifierWP = new Sismo\Contrib\WallpaperNotifier();

// add a project with custom settings
$computer = new Sismo\Project('computer');
$computer->setRepository('/home/cordoval/sites-2/computer');
$computer->setBranch('master');

$longCommand = 'composer install; phpunit';

// sets command, slug, commit links and notifier
$computer->setCommand($longCommand);
$computer->setSlug('computer');
$computer->setUrlPattern('http://localhost:8000/?p=.git;a=commitdiff;h=%commit%');
$computer->addNotifier($notifier);
$computer->addNotifier($notifierWP);

return $computer;

0 comments on commit a596072

Please sign in to comment.