Add Travis support.
Fix examples for Travis validation.