[Examples] Updated examples to add checks and the travis script