ci/Appveyor: respect -NoTest param
Skips nodejs and Neovim::Ext.
This commit is contained in:
parent
7853b61786
commit
b4e4ed844a
18
ci/build.ps1
18
ci/build.ps1
|
@ -36,18 +36,22 @@ $scoop = (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh'
|
|||
Invoke-Expression $scoop
|
||||
}
|
||||
|
||||
scoop install diffutils nodejs-lts perl
|
||||
scoop install diffutils perl
|
||||
diff3 --version
|
||||
node --version
|
||||
npm.cmd --version
|
||||
perl --version
|
||||
cpanm.bat --version
|
||||
|
||||
cpanm.bat -n Neovim::Ext
|
||||
if ($LastExitCode -ne 0) {
|
||||
Get-Content -Path "$env:USERPROFILE\.cpanm\build.log"
|
||||
if (-not $NoTests) {
|
||||
scoop install nodejs-lts
|
||||
node --version
|
||||
npm.cmd --version
|
||||
|
||||
cpanm.bat -n Neovim::Ext
|
||||
if ($LastExitCode -ne 0) {
|
||||
Get-Content -Path "$env:USERPROFILE\.cpanm\build.log"
|
||||
}
|
||||
perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'; exitIfFailed
|
||||
}
|
||||
perl -W -e 'use Neovim::Ext; print $Neovim::Ext::VERSION'; exitIfFailed
|
||||
|
||||
if (-Not (Test-Path -PathType container $env:DEPS_BUILD_DIR)) {
|
||||
write-host "cache dir not found: $($env:DEPS_BUILD_DIR)"
|
||||
|
|
Loading…
Reference in New Issue