Skip to content

seripap/sublime-travis-ci-status

Repository files navigation

Travis CI Statusbar integration for Sublime Text

Shows current build status of active branch from Travis CI in the status bar for Sublime Text 3.

preview

Getting Started

Set the following keys in your User Preferences.

{
  "travis_api_token": "",
  "travis_private_projects": false,
}

Setup

By default, this plugin reads information from your git configuration for the current directory. You can add the following to your local git config /.git/config:

[travis]
    slug = <repo>/<repo-name>

This slug must match the location of where it resides on travis-ci.com/org (travis-ci.org/<repo>/<repo-name>).

Projects

You can avoid having to set git configs by creating a project and setting the following settings key inside of your project config:

"settings": {
    "travis_project_repo": "<repo>/<repo-name>"
}

This will override any slug set by git config.

Errors

By default, if there is an error or a setting is configured incorrectly the status bar will be normal and not show any build information. If you believe everything is configured correctly, you can view the console to see internal API errors.

Acknowledgements