use Pillow in travis-ci tests.
Merge pull request #567 from nouiz/pillow

use Pillow in travis-ci tests.