README: add Travis CI badge

This commit is contained in:
Marco Hinz 2014-11-20 15:00:36 +01:00
parent 62512237a5
commit 61619ba211
6 changed files with 22 additions and 20 deletions

1
.gitignore vendored
View file

@ -12,3 +12,4 @@
!syntax/startify.vim !syntax/startify.vim
!test/run !test/run
!test/tests.vader !test/tests.vader
!test/vimrc

View file

@ -4,11 +4,4 @@ before_script: |
git clone https://github.com/junegunn/vader.vim.git git clone https://github.com/junegunn/vader.vim.git
script: | script: |
vim --nofork -XNu <(cat << EOF vim -Nu test/vimrc -c 'Vader! test/*' >/dev/null
filetype off
set runtimepath+=vader.vim
set runtimepath+=.
filetype plugin on
syntax enable
set hidden
EOF) -c 'Vader! test/*' >/dev/null

View file

@ -1,3 +1,5 @@
image:https://travis-ci.org/mhinz/vim-startify.svg?branch=travis["Build Status", link="https://travis-ci.org/mhinz/vim-startify"]
image:https://github.com/mhinz/vim-startify/raw/master/startify.png[Startify in action!] image:https://github.com/mhinz/vim-startify/raw/master/startify.png[Startify in action!]
That's it. A fancy start screen for Vim. _(almost all visible features enabled - freely customizable)_ That's it. A fancy start screen for Vim. _(almost all visible features enabled - freely customizable)_

View file

@ -1,10 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
vim --nofork -XNu <(cat << EOF vim -XNu vimrc -c 'Vader! *' >/dev/null
filetype off
set runtimepath+=~/.vim/bundle/vader.vim
set runtimepath+=..
filetype plugin on
syntax enable
set hidden
EOF) +Vader*

View file

@ -1,7 +1,7 @@
Before (Check :Startify): Before (check :Startify):
Startify Startify
Execute (Check options): Execute (check options):
AssertEqual 'startify', &filetype AssertEqual 'startify', &filetype
AssertEqual 'wipe', &bufhidden AssertEqual 'wipe', &bufhidden
AssertEqual 'nofile', &buftype AssertEqual 'nofile', &buftype
@ -12,12 +12,19 @@ Execute (Check options):
AssertEqual 0, &number AssertEqual 0, &number
AssertEqual 0, &swapfile AssertEqual 0, &swapfile
Do (open new buffer in insert mode with 'i'): Do (open new buffer in insert mode via 'i'):
ifoo ifoo
Expect (only "foo"): Expect (only "foo"):
foo foo
Do (open new buffer in normal mode with 'e'): Do (open new buffer in normal mode via 'e'):
eibar eibar
Expect (only "bar"): Expect (only "bar"):
bar bar
Given:
quux
Do (quit Startify buffer via 'q'):
q
Expect:
quux

6
test/vimrc Normal file
View file

@ -0,0 +1,6 @@
filetype off
set runtimepath+=vader.vim
set runtimepath+=.
filetype plugin on
syntax enable
set hidden