Cannot publish rust crate using cargo provider

Hi Guys,

I’m seeing an error when publishing rust crate using cargo.

I get the following error in the deployment phase.

error: Found argument ‘to’ which wasn’t expected, or isn’t valid in this context

Job link: Travis CI - Test and Deploy with Confidence
Travis.yml: gql-client-rs/.travis.yml at master · arthurkhlghatyan/gql-client-rs · GitHub

Is this a problem with the configuration format or Travis itself?

Thanks.

Arthur.

Well,

I solved the issue by transferring environment variables in Travis.

This time deploy script is run each time the build job completes so as a result get 4 shots to publish a new crate version in a single build.

Any workarounds for this would be appreciated.

The link for the latest build - Travis CI - Test and Deploy with Confidence

Thank you.

Imprint