iurifq / vim-travis-ci

A VIM plugin to browse the build page of a git commit in Travis CI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis CI Vim plugin

This plugin provides :GTravisBrowse command to browse the build page of a git commit in Travis CI. You can use it without any arguments, which references to the HEAD commit or giving a commit reference as follows.

:GTravisBrowse
:GTravisBrowse HEAD^
:GTravisBrowse HEAD~3
:GTravisBrowse 6cfb346
:GTravisBrowse some-branch-name

It follows vim-fugitive command naming pattern and is only available when the current buffer is inside of a git managed folder.

Installation

It depends on vim-fugitive and webapi-vim plugins. These plugins depend on git and curl, so make sure you have them installed. If you use Vundle, you can install this plugin placing the following commands in you .vimrc.

Bundle 'tpope/vim-fugitive'
Bundle 'mattn/webapi-vim'
Bundle 'iurifq/vim-travis-ci'

TODO

  • Support github private repositories via OAuth authentication
  • Support multiple remote repositories
  • Handle errors while accessing external API

About

A VIM plugin to browse the build page of a git commit in Travis CI


Languages

Language:Vim Script 74.4%Language:HTML 13.1%Language:JavaScript 12.5%