README: add Travis CI badge
This commit is contained in:
parent
62512237a5
commit
61619ba211
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -12,3 +12,4 @@
|
||||||
!syntax/startify.vim
|
!syntax/startify.vim
|
||||||
!test/run
|
!test/run
|
||||||
!test/tests.vader
|
!test/tests.vader
|
||||||
|
!test/vimrc
|
||||||
|
|
|
@ -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
|
|
||||||
|
|
|
@ -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)_
|
||||||
|
|
9
test/run
9
test/run
|
@ -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*
|
|
||||||
|
|
|
@ -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
6
test/vimrc
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
filetype off
|
||||||
|
set runtimepath+=vader.vim
|
||||||
|
set runtimepath+=.
|
||||||
|
filetype plugin on
|
||||||
|
syntax enable
|
||||||
|
set hidden
|
Loading…
Reference in a new issue