Merge pull request #971 from chrisbra/fix_travis

Fix travis failure because of missing simple theme
This commit is contained in:
Christian Brabandt 2016-01-30 15:08:04 +01:00
commit 6e223196ff
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
language: ruby language: ruby
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
rvm: rvm:
- 1.9.3 - 1.9.3
script: rake ci script: rake ci

View File

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