add travis build logo and example code