~glacambre/firenvim

ref: 6c5ec95986171814433de7a7396a5ab757f53381 firenvim/.appveyor.yml -rw-r--r-- 1.4 KiB
6c5ec959glacambre package-lock.json: version bump Firenvim 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: 1.0.{build}
branches:
  only:
  - master
skip_branch_with_pr: true
clone_depth: 1
cache: "C:\\projects\\firenvim\\node_modules"
build: off
test: off
deploy: off
environment:
  HEADLESS: 1
  APPVEYOR: 1
install:
  - ps: Install-Product node $env:nodejs_version
  - npm install -g npm
  - choco --version
  - choco install firefox-dev --pre
  - ps: $env:Path += ";C:\Program Files\Firefox Developer Edition"
  - ps: Invoke-WebRequest -Uri "https://github.com/neovim/neovim/releases/download/nightly/nvim-win64.zip" -OutFile "C:\Users\appveyor\nvim-win64.zip"
  - ps: Add-Type -assembly "system.io.compression.filesystem" ; [io.compression.zipfile]::ExtractToDirectory("C:\Users\appveyor\nvim-win64.zip", "C:\Users\appveyor\nvim")
  - ps: $env:Path += ";C:\Users\appveyor\nvim\Neovim\bin"
  - node --version
  - npm --version
  - firefox --version
  - nvim --version
  - ps: New-Item -ItemType Directory -Force -Path "C:\Users\appveyor\AppData\Local\nvim"
  - ps: Set-Content -Path "C:\Users\appveyor\AppData\Local\nvim\init.vim" -Value "set rtp+=C:\projects\firenvim"
  - npm ci
  - npm run build
  - ps: New-Item -Path "HKCU:\Software\Mozilla\NativeMessagingHosts"
  - ps: New-Item -Path "HKCU:\Software\Mozilla\NativeMessagingHosts\firenvim"
  - ps: Set-Item -Path "HKCU:\Software\Mozilla\NativeMessagingHosts\firenvim\" -Value "C:\Users\me\AppData\Local\firenvim\firenvim-firefox.json"
  - npm run install_manifests
  - npm run test firefox