FIX: Update to comply with new Travis build syntax.

Borrows features from scikit-image.