Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 42 lines (30 sloc) 0.832 kb
7303652 @meandmymonkey created readme
authored
1 # Sismotify
2
f7296eb @meandmymonkey updated readme
authored
3 A notifier for [Sismo](http://sismo.sensiolabs.org).
7303652 @meandmymonkey created readme
authored
4
5 ## Install
6
7 Create a composer.json and install
8
9 ```json
10 {
11 "require": {
d4c6544 @meandmymonkey updated readme
authored
12 "meandmymonkey/sismotify": "*"
7303652 @meandmymonkey created readme
authored
13 }
14 }
15 ```
16
17 ```sh
18 $ php composer.phar install
19 ```
20
21 ## HoustonNotifier
22
23 Calls mission control if there is a problem. This Notifier is **Mac only** for now, sorry.
24
25 ```php
26 $notfier = new Duochrome\Sismo\HoustonNotifier();
27 ```
28
f048937 @meandmymonkey reformatted readme
authored
29 After the first couple of hundred failed builds, the audio message might start getting on
30 your nerves a bit. For these cases, you can of course customize the failure sound, add a
31 sound for successful builds, and adjust the volume:
7303652 @meandmymonkey created readme
authored
32
33 ```php
34 $notfier = new Duochrome\Sismo\HoustonNotifier(
35 '/path/to/failsound',
36 '/path/to/successsound',
37 50
38 );
39 ```
40
41 All audio formats that can be played by quicktime should work fine.
Something went wrong with that request. Please try again.