Update example so it works under Python 3.
Update travis config.