fixed time_t printf format warning
added travis ci rules