Added error event
Added travis and coveralls