Add validate and lint tasks to travis script