Add travis badge and update examples