[ci] Updating travis images and syntax issue in the require config