Fix cap deploy on travis