Gcloud is not updated, not possible to update

When I attempt to deploy this application to Google App Engine, I receive this error message.

ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Please update to the latest version of gcloud. If you are using the API directly, please provide a value for version.entrypoint.shell. This can be an empty value.

I tried updating to the lates version of gcloud, but when I build I receive this error:

ERROR: (gcloud.components.update) You cannot perform this action because this Cloud SDK installation is managed by an external package manager.

I’m stuck. What should I do?

Judging by PATH=$PATH:${HOME}/google-cloud-sdk/bin and if [ ! -d ${HOME}/google-cloud-sdk ]; then echo 'theifexecuted'; curl https://sdk.cloud.google.com | bash; fi in https://travis-ci.com/owenbrown/simple-mta/jobs/261704477/config, you are installing this software yourself.
So you are responsible for managing it and troubleshooting it if it malfunctions.

If you want to rather use Travis’ functionality for Google Cloud Storage deployment, see https://docs.travis-ci.com/user/deployment/gcs/.