Skip to content
This repository has been archived by the owner on Apr 20, 2020. It is now read-only.

Debugging Travis

Patrick Schratz edited this page Aug 9, 2018 · 1 revision

Travis builds can be debugged locally by sshing into them. The travis package comes with a convenience function travis_debug_job() which only needs the Job ID of the respective Travis build:

travis::travis_debug_job(<jobid>)`

The Job ID can be found in the first lines of each Travis build.

Afterwards, wait until the debug build shows a ssh <key> line. You can use this to ssh into the build and debug it locally.

By default debug mode is not enabled for public Travis repos but I enabled it for RQGIS.

More information: https://docs.travis-ci.com/user/running-build-in-debug-mode/

Clone this wiki locally