Printing out CI build log information

The logs command will print out the contents of the Travis CI log for the repository and by default it will print out the first job of the latest build. Here, we run the logs command in the recent repository that we created; it won't pass the CI build, however, since there aren't any buildable Go files in the repository yet:

travis logsdisplaying logs for packtci/travis-init-command#1.1Worker informationhostname: fb102913-2cd8-41fb-b69b-7e8488a0aa0a@1.production-1-worker-org-03-packetversion: v3.8.2 https://github.com/travis-ci/worker/tree/c370f713bb4195cce20cdc6ce3e62f26b8cf3961instance: 22589e2 travisci/ci-garnet:packer-1512502276-986baf0 (via amqp)startup: 1.083854718sBuild system informationBuild ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.