updated travis

test switching color schemes
This commit is contained in:
Christian Brabandt 2016-01-31 17:28:37 +01:00
parent 8c860b7045
commit 2d4cb5c1ad
2 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
language: ruby language: ruby
before_install: before_install:
- curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/simple.vim" -o autoload/airline/themes/simple.vim - curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/simple.vim" -o autoload/airline/themes/simple.vim
- curl -f -L "https://raw.githubusercontent.com/vim-airline/vim-airline-themes/master/autoload/airline/themes/molokai.vim" -o autoload/airline/themes/molokai.vim
- mkdir colors && curl -f -L 'https://raw.githubusercontent.com/tomasr/molokai/master/colors/molokai.vim' -o colors/molokai.vim
rvm: rvm:
- 1.9.3 - 1.9.3
script: rake ci script: rake ci

View File

@ -24,6 +24,8 @@ describe 'commands'
Expect g:airline_theme == 'dark' Expect g:airline_theme == 'dark'
execute 'AirlineTheme doesnotexist' execute 'AirlineTheme doesnotexist'
Expect g:airline_theme == 'dark' Expect g:airline_theme == 'dark'
colors molokai
Expect g:airline_theme == 'molokai'
end end
it 'should have a refresh command' it 'should have a refresh command'