On 06.06.2018 18:10, Victor Stinner wrote:
2018-06-04 21:37 GMT+02:00 Ivan Pozdeev <v...@mail.mipt.ru>:
https://docs.travis-ci.com/user/running-build-in-debug-mode/ is the official
doc on how to debug a Travis CI build via ssh.
Did you already try it? The doc mentions a "[Debug]" button, but I
cannot see it whereas I'm logged in in the Python organization.
Last I checked, they wrote it's only available for paid accounts (on
travis-ci.com) by default and only enabled for others on a case-by-case
basis, but I cannot find this info now.
So suggest you make a support ticket at
https://github.com/travis-ci/travis-ci .
I also tried the curl API call but it fails with:
{
"@type": "error",
"error_type": "wrong_credentials",
"error_message": "access denied"
}
curl -s -X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Travis-API-Version: 3" \
-H "Authorization: token XXXXX" \
-d "{\"quiet\": true}" \
https://api.travis-ci.org/job/388706591/debug
where XXXXX is my hidden token ;-)
If I use an invalid token ID, I get a different error: just the string
"access denied", instead of a JSON dictionary. First I was also
confused between travis-ci.com and travis-ci.org ... The documentation
shows an example with .com, but Python organization uses .org.
Victor
--
Regards,
Ivan
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com