Add check dependency to travis configuration.