Fixed travis-ci config for different python versions.
Since we do work with images, require Pillow.