{"id":238241,"date":"2022-01-02T01:58:00","date_gmt":"2022-01-02T06:58:00","guid":{"rendered":"https:\/\/wordpress-756359-3782526.cloudwaysapps.com\/?p=238241"},"modified":"2025-05-30T07:32:06","modified_gmt":"2025-05-30T07:32:06","slug":"22-09-02-buildexplorer","status":"publish","type":"post","link":"https:\/\/www.travis-ci.com\/blog\/22-09-02-buildexplorer\/","title":{"rendered":"Travis CI Build Explorer"},"content":{"rendered":"\n<p>Ever want to know where you went wrong when configuring your&nbsp;<code>.travis.yml<\/code>&nbsp;file? You should try Travis CI Build Explorer. Travis CI build config format is formally specified using a JSON Schema. Travis CI uses this specification to normalize and validate build configs, let\u2019s do a sample.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"usage\">Usage<\/h2>\n\n\n\n<p>First let\u2019s open up the&nbsp;<a href=\"https:\/\/config.travis-ci.com\/explore\">Travis CI Build Explorer<\/a>. Let\u2019s take this&nbsp;<code>.travis.yml<\/code>&nbsp;file for example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>language: bash\n\nbefore_install:\n  - chmod +x setup.sh\n  - .\/setup.sh\n  - python --version\ninstall: skip\nscript: true<\/code><\/pre>\n\n\n\n<p>This is a good&nbsp;<code>.travis.yml<\/code>&nbsp;and Build Explorer will pass it, here\u2019s how it will look when I run it through Build Explorer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"560\" src=\"https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221303-68b73ec9-321a-450a-8053-a8d761960745-1024x560-1.png\" alt=\"\" class=\"wp-image-242784\" style=\"aspect-ratio:1;width:840px;height:auto\" srcset=\"https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221303-68b73ec9-321a-450a-8053-a8d761960745-1024x560-1.png 1024w, https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221303-68b73ec9-321a-450a-8053-a8d761960745-1024x560-1-300x164.png 300w, https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221303-68b73ec9-321a-450a-8053-a8d761960745-1024x560-1-768x420.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Now let\u2019s say we have a&nbsp;<code>.travis.yml<\/code>&nbsp;that errors, and we wnat to find out what that is. You\u2019ll notice the verbose output on the right:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"390\" src=\"https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221730-78158553-9f32-427e-abe4-15ea613abc27.png\" alt=\"\" class=\"wp-image-242786\" srcset=\"https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221730-78158553-9f32-427e-abe4-15ea613abc27.png 814w, https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221730-78158553-9f32-427e-abe4-15ea613abc27-300x144.png 300w, https:\/\/www.travis-ci.com\/wp-content\/uploads\/2022\/01\/188221730-78158553-9f32-427e-abe4-15ea613abc27-768x368.png 768w\" sizes=\"auto, (max-width: 814px) 100vw, 814px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p>Travis CI Build Explorer is a great tool to get more verbose outputs as to why your build might be failing and give you another scope of things you might be able to change.<\/p>\n\n\n\n<p>As always though, you can email me at&nbsp;<a href=\"mailto:montana@travis-ci.org\">montana@travis-ci.org<\/a>&nbsp;if you have any questions, or problems about your&nbsp;<code>.travis.yml<\/code>&nbsp;file, or just want something answered about the Travis CI Build Config.<\/p>\n\n\n\n<p>Happy Building!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ever want to know where you went wrong when configuring your&nbsp;.travis.yml&nbsp;file? You should try Travis CI Build Explorer. Travis CI build config format is formally specified using a JSON Schema. Travis CI uses this specification to normalize and validate build configs, let\u2019s do a sample. Usage First let\u2019s open up the&nbsp;Travis CI Build Explorer. Let\u2019s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_breakdance_hide_in_design_set":false,"_breakdance_tags":"","footnotes":""},"categories":[16],"tags":[7,19,20,5],"class_list":["post-238241","post","type-post","status-publish","format-standard","hentry","category-news","tag-community","tag-feature","tag-infrastructure","tag-news"],"_links":{"self":[{"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/posts\/238241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/comments?post=238241"}],"version-history":[{"count":3,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/posts\/238241\/revisions"}],"predecessor-version":[{"id":242787,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/posts\/238241\/revisions\/242787"}],"wp:attachment":[{"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/media?parent=238241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/categories?post=238241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.travis-ci.com\/wp-json\/wp\/v2\/tags?post=238241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}