-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Description
If you are experiencing this issue to, use the reaction button to +1 this post.
$ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin15]
$ travis --version
1.8.0
$ rm -Rf ~/.travis
$ travis login --debug --github-token $GITHUB_TRAVIS_TOKEN
** Loading gh
** GET "config"
** took 0.28 seconds
** GitHub API: GET /user?per_page=100
** took 1.7 seconds
** POST "auth/github" {:github_token=>"6f73bc1b55588f461137b18a5e1d1c9589e3b943"}
** took 0.51 seconds
** GET "users/"
** took 0.39 seconds
Successfully logged in as balupton!
** Storing "/Users/balupton/.travis/config.yml"
$ travis restart -r docpad/website --debug
** Loading "/Users/balupton/.travis/config.yml"
** Loading gh
** GET "config"
** took 0.3 seconds
** GitHub API: HEAD /repos/docpad/website
** took 2.2 seconds
** GET "repos/docpad/website"
** took 0.86 seconds
invalid access token - try running travis login --org
$ travis logout
Successfully logged out!
$ rm -Rf ~/.travis
$ travis login --debug --auto-password
** Loading gh
** GET "config"
** took 0.33 seconds
** Tools::Github: requesting to load github.com login and password from keychain
** GitHub API: POST /authorizations
** GitHub API: GET /user?per_page=100
** Tools::Github: token is not acceptable: Requires authentication
We need your GitHub login to identify you.
This information will not be sent to Travis CI, only to api.github.com.
The password will not be displayed.
Try running with --github-token or --auto if you don't want to enter your password anyway.
Username: balupton
Password for balupton: BLAH
** GitHub API: POST /authorizations
Two-factor authentication code for balupton: BLAH
** GitHub API: POST /authorizations
** took 1.3 seconds
** GitHub API: GET /user?per_page=100
** took 1.4 seconds
** POST "auth/github" {:github_token=>"BLAH"}
** took 0.62 seconds
** GET "users/"
** took 0.41 seconds
Successfully logged in as balupton!
** GitHub API: DELETE /authorizations/BLAH
** took 1.5 seconds
** Storing "/Users/balupton/.travis/config.yml"
$ travis restart -r docpad/website --debug
** Loading "/Users/balupton/.travis/config.yml"
** Timeout::Error: execution expired
** Loading gh
** GET "config"
** took 0.29 seconds
** GitHub API: HEAD /repos/docpad/website
** took 1.6 seconds
** GET "repos/docpad/website"
** took 0.35 seconds
invalid access token - try running travis login --org
$ travis logout
Successfully logged out!
$ rm -Rf ~/.travis
$ travis login --auto --org --debug
** Loading gh
** GET "config"
** took 0.36 seconds
** Tools::Github: requesting to load GitHub for Mac token from keychain
** GitHub API: GET /user?per_page=100
** took 1.7 seconds
** POST "auth/github" {:github_token=>"BLAH"}
** took 0.52 seconds
** GET "users/"
** took 0.34 seconds
Successfully logged in as balupton!
** Storing "/Users/balupton/.travis/config.yml"
$ travis restart -r docpad/website --debug
** Loading "/Users/balupton/.travis/config.yml"
** Loading gh
** GET "config"
** took 0.64 seconds
** GitHub API: HEAD /repos/docpad/website
** took 2 seconds
** GET "repos/docpad/website"
** took 0.27 seconds
invalid access token - try running travis login --org
remcoder, asvetlov, ducarroz, smockle, keradus and 72 moreeric6919eranshapira, graingert, xlucas, ryanhiebert, SunRunAway and 6 more
Metadata
Metadata
Assignees
Labels
No labels