Updated travis config and examples
Fixed problem with Bar.get_timedelta