Make sure build is failed when tests do not pass

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added Travis CI configuration

Signed-off-by: Stefan Marr <git@stefan-marr.de>