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?
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).