Travis Client - Login with BitBucket account
You can use -t TRAVIS_TOKEN
instead of authentication via login
command (login command assumes that you want to login via GitHub)
Your encrypt command will look like this:travis encrypt-file --pro --repo USER/REPO -t TRAVIS_TOKEN file --add
Steps to get user token:
- Login into Travis (via BitBucket)
- Click your user icon (top right corner) and select
Settings
- This will show you your
Repositories
with option to showSettings
orPlan
. - Select
Settings
- Click
Copy token
from API authentication
Or just click this link Travis CI preferences and Copy Token
.