Add simple tests to make sure themes don't contain language errors.

Update readme with travis status.
This commit is contained in:
paroxayte
2019-05-05 16:49:20 -05:00
parent 01b3098642
commit 3cc3b968ca
3 changed files with 66 additions and 1 deletions
+27
View File
@@ -0,0 +1,27 @@
language: vim
cache:
directories:
- $HOME/.vvm
before_install:
- curl https://raw.githubusercontent.com/kana/vim-version-manager/master/bin/vvm | python - setup; true
- source ~/.vvm/etc/login
- vvm update_itself
- vvm use vimorg--v8.1.1280 --install --with-features=huge
before_script: |
git clone https://github.com/junegunn/vader.vim.git
git clone https://github.com/vim-airline/vim-airline
find $PWD/autoload/airline/themes -name "*.vim" > themes.txt
script: |
vim -Nu <(cat << VIMRC
filetype off
set rtp+=vader.vim
set rtp+=vim-airline
set rtp+=.
set rtp+=after
filetype plugin indent on
syntax enable
VIMRC) -c 'Vader! test/*' > /dev/null