LoginSignup
1
1

More than 5 years have passed since last update.

travis login --github-token で Travis CI に login する

Posted at

問題

Travis CI の CLI である travislogin--github-token を指定してもログインできない。

出力例:

$ travis login --github-token XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
405: "request method not allowed"

解決策

GitHub token に適切な scope を設定する。ドキュメントに明記されていないのだけど、次の Issue によると user:emailrepo をつけると良いらしい。

ぼくの試した範囲だと、repo:public_repouser:email だけで travis login 自体には成功した。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1