Travis CI Build Explorer

Build Config Explorer

Ever want to know where you went wrong when configuring your .travis.yml 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’s do a sample.

Usage

First let’s open up the Travis CI Build Explorer. Let’s take this .travis.yml file for example:

language: bash

before_install:
  - chmod +x setup.sh
  - ./setup.sh
  - python --version
install: skip
script: true

This is a good .travis.yml and Build Explorer will pass it, here’s how it will look when I run it through Build Explorer:

Screen Shot 2022-09-02 at 12 07 50 PM

Now let’s say we have a .travis.yml that errors, and we wnat to find out what that is. You’ll notice the verbose output on the right:

Screen Shot 2022-09-02 at 12 11 20 PM

Conclusion

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.

As always though, you can email me at montana@travis-ci.org if you have any questions, or problems about your .travis.yml file, or just want something answered about the Travis CI Build Config.

Happy Building!