You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

41 lines
1.3 KiB

  1. ---
  2. # Disabling building for AppVeyor. We are just testing things.
  3. build: false
  4. clone_depth: 10
  5. # Use the directory C:\testplugin so test directories will mostly work.
  6. clone_folder: C:\testplugin
  7. # Cache the vim and vader directories between builds.
  8. cache:
  9. - C:\vim -> .appveyor.yml
  10. - C:\vader -> .appveyor.yml
  11. init:
  12. # Stop git from changing newlines
  13. - git config --global core.autocrlf input
  14. install:
  15. # Download and unpack Vim
  16. - ps: >-
  17. if (!(Test-Path -Path C:\vim)){
  18. Add-Type -A System.IO.Compression.FileSystem
  19. Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip `
  20. -OutFile C:\vim.zip
  21. [IO.Compression.ZipFile]::ExtractToDirectory('C:\vim.zip', 'C:\vim')
  22. Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586rt.zip `
  23. -OutFile C:\rt.zip
  24. [IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim')
  25. }
  26. # Clone Vader and check out the commit we want
  27. - ps: >-
  28. if (!(Test-Path -Path C:\vader)){
  29. git clone https://github.com/junegunn/vader.vim C:\vader 2> $null
  30. cd C:\vader
  31. git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af 2> $null
  32. }
  33. test_script:
  34. - cd C:\testplugin
  35. - 'C:\vim\vim\vim80\vim.exe -u test\vimrc "+Vader!
  36. test/*.vader test/*/*.vader test/*/*/*.vader test/*/*/*.vader"'