---
# Disabling building for AppVeyor. We are just testing things.
build: false
clone_depth: 10

init:
  # Stop git from changing newlines
  - git config --global core.autocrlf input

install:
  # Download and unpack Vim
  - ps: >-
      if (!Test-Path -Path C:\vim)) {
        Add-Type -A System.IO.Compression.FileSystem
        Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip `
          -OutFile C:\vim.zip
        [IO.Compression.ZipFile]::ExtractToDirectory('C:\vim.zip', 'C:\vim')
        Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586rt.zip `
          -OutFile C:\rt.zip
        [IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim')
      }
  - git clone https://github.com/junegunn/vader.vim C:\vader
  - cd C:\vader
  - git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af
  - cd C:\

test_script:
  - cd C:\projects\ale
  - C:\vim\vim\vim80\vim.exe --version
  - 'C:\vim\vim\vim80\vim.exe -u test\vimrc "+Vader! test/test_path_uri.vader"'

---
# Disabling building for AppVeyor. We are just testing things.
build: false
clone_depth: 10

init:
  # Stop git from changing newlines
  - git config --global core.autocrlf input

install:
  # Download and unpack Vim
  - ps: >-
      if (!(Test-Path -Path C:\vim)){
        Add-Type -A System.IO.Compression.FileSystem
        Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586w32.zip `
          -OutFile C:\vim.zip
        [IO.Compression.ZipFile]::ExtractToDirectory('C:\vim.zip', 'C:\vim')
        Invoke-WebRequest ftp://ftp.vim.org/pub/vim/pc/vim80-586rt.zip `
          -OutFile C:\rt.zip
        [IO.Compression.ZipFile]::ExtractToDirectory('C:\rt.zip', 'C:\vim')
      }
  - git clone https://github.com/junegunn/vader.vim C:\vader
  - cd C:\vader
  - git checkout -qf c6243dd81c98350df4dec608fa972df98fa2a3af
  - cd C:\

test_script:
  - cd C:\projects\ale
  - C:\vim\vim\vim80\vim.exe --version
  - 'C:\vim\vim\vim80\vim.exe -u test\vimrc "+Vader! test/test_path_uri.vader"'

Fix some PowerShell syntax errors
Fix some PowerShell syntax errors
