Fix travis for installing imagick and gmagick