gdziadkiewicz / vsc-travis-ci-status

:shipit: Check the status of your Travis CI project from Visual Studio Code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis CI Extension for Visual Studio Code

Check the Travis CI build status of your project right in Visual Studio Code! This extension displays a small status indicator in the status bar.

Screenshot

It comes with two commands: Update Status and Open in Travis. It is enabled automatically if a .travis.yml is present in your project.

Configuration

Travis uses a username/repository combination to find your test. By default, the extension will atempt to gather that information from your Git configuration, using the origin remote. So, if your repository lives in https://github.com/felixrieseberg/bubblegum, the extension will expect to find tests at https://travis-ci.org/felixrieseberg/bubblegum.

However, you can easily override that setting. Simply open or create ./.vscode/settings.json and fill in the following fields:

{
    "travis.repository": "electron",
    "travis.username": "atom"
}

If you are using https://travis-ci.com/ add the following settings in ./.vscode/settings.json :

{
     "travis.pro": true
}

By default, this extension will request a status update from Travis every 60 seconds. You can easily override this by changing the your ./.vscode/settings.json file.

To disable polling entirely, you can use:

{
    "travis.statusPolling": false

or to change the polling interval, you can use:

{
    "travis.statusPollingInterval": 30
}

Which will set the polling interval to every 30 seconds. It is recommended that you don't attempt to poll for status changes too often.

License

MIT, please see LICENSE for details. Copyright (c) 2015 Felix Rieseberg and Microsoft Corporation.

About

:shipit: Check the status of your Travis CI project from Visual Studio Code

License:MIT License


Languages

Language:TypeScript 100.0%