Add requirements.txt and update travis CI config.