`travis login` - Login with Bitbucket account

I am trying to encrypt a file using travis command line: travis encrypt-file ./my-file .

When I run this, Travis asks me to login. I use this command for doing so: travis login --pro . However, Travis throws in the console Bad credentials .

Is it possible at this moment to login with travis client to a bitbucket account? If not, is there a wokaround to encrypt a file having a travis account associated to a bitbucket one?

@Cris21395 I have the same issue. I’m logged in to https://travis-ci.com/ with my bitbucket account.
image

I have the same issue, I want to deploy without exposing my secret key.

Looking at travis encrypt-file --help, it’s possible to authenticate with your Travis API token instead of a 3rd-party-service login with a -t <token> option to travis encrypt-file.
You may need to specify the repo slug explicitly (see --help output for the option).

You can look up your API token at API Developer Documentation - Travis CI or at Travis CI - Test and Deploy with Confidence .

Note that