Skip to content

Commit

Permalink
ci(appveyor.yml): Squelch Growl-related spawn errors [skip travis]
Browse files Browse the repository at this point in the history
Manually installed binary needed for Windows desktop notification support.

Fixes mochajs#3483
  • Loading branch information
plroebuck committed Oct 16, 2018
1 parent c8115f0 commit 9bea38e
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,25 @@ environment:
install:
- ps: Install-Product node $env:nodejs_version x64
- set CI=true
- set PATH=%APPDATA%\npm;c:\MinGW\bin;%PATH%
- echo PATH=%PROGRAMFILES(X86)%\Growl for Windows;%PATH%
- set PATH=%PROGRAMFILES(X86)%\Growl for Windows;%PATH%
- set PATH=%APPDATA%\npm;%HOMEDRIVE%:\MinGW\bin;%PATH%
- npm install -g npm@^5
- npm ci --ignore-scripts
- cinst growl
## Chocolatey Growl install fails -- out of date package metadata
#- cinst growl
## Manual Growl install
- ps: $exeFile = "GrowlInstaller.exe"
- ps: $exePath = "$($env:USERPROFILE)\Downloads\$exeFile"
- ps: $exeURL = "http://www.growlforwindows.com/gfw/downloads/$exeFile"
- ps: (New-Object Net.WebClient).DownloadFile($exeURL, $exePath)
- ps: $instPath = "$($env:HOMEDRIVE):\GrowlInstaller"
- ps: $instMSI = "Growl_v2.0.msi"
- ps: mkdir $instPath
- ps: 7z x $exePath -o$instPath | out-null
- ps: rm $exePath
- ps: cmd /c start /wait msiexec /i $instPath\$instMSI /quiet
- ps: rmdir -r $instPath
matrix:
fast_finish: true
build: off
Expand Down

0 comments on commit 9bea38e

Please sign in to comment.