update travis yaml and add more examples to the readme file