Run linters in specs task in Travis (closes #980)