Add travis and changed example.