Add travis

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #3 from djs55/fix-event-pending

Add travis