exclude R and virtualbox

This commit is contained in:
Aleksandr Chebotov
2020-09-22 12:12:44 +03:00
parent e691d6e33b
commit d0524e9381
3 changed files with 33 additions and 20 deletions

View File

@@ -40,12 +40,19 @@ for package in ${binst_common_utils[@]}; do
done
# brew cask install
if is_BigSur; then
bcask_common_utils=(
julia
vagrant
)
else
bcask_common_utils=(
julia
virtualbox
vagrant
r
)
fi
for package in ${bcask_common_utils[@]}; do
echo "Install $package"

View File

@@ -55,6 +55,10 @@ if ( -not $os.IsHighSierra) {
$markdown += New-MDList -Style Unordered -NoNewLine -Lines $lines
}
if ($os.IsLessThanBigSur) {
$markdown += New-MDList -Style Unordered -Lines @(Get-RVersion) -NoNewLine
}
$markdown += New-MDList -Style Unordered -Lines @(
"Node.js ${nodejsVersion}"
"NVM ${nvmVersion}"
@@ -63,7 +67,6 @@ $markdown += New-MDList -Style Unordered -Lines @(
$python3Version,
"Ruby ${rubyVersion}",
(Get-DotnetVersionList),
(Get-RVersion),
"Go ${goVersion}",
"$phpVersion",
"$juliaVersion"
@@ -139,7 +142,6 @@ $bazelVersion = Run-Command "bazel --version" | Take-Part -Part 0 -Delimiter "-"
$bazeliskVersion = Run-Command "bazelisk version" | Select-String "Bazelisk version:" | Take-Part -Part 1 -Delimiter ":"
$packerVersion = Run-Command "packer --version"
$helmVersion = Run-Command "helm version --short"
$vbox = Run-Command "vboxmanage -v"
$vagrant = Run-Command "vagrant -v"
$mongo = Run-Command "mongo --version" | Select-String "MongoDB shell version" | Take-Part -Part 3
$mongod = Run-Command "mongod --version" | Select-String "db version " | Take-Part -Part 2
@@ -177,8 +179,12 @@ if ($os.IsHigherThanMojave) {
$markdown += New-MDList -Lines "Newman $newmanVersion" -Style Unordered -NoNewLine
}
if ($os.IsLessThanBigSur) {
$vbox = Run-Command "vboxmanage -v"
$parallelVersion = Run-Command "parallel --version" | Select-String "GNU parallel" | Select-Object -First 1
$markdown += New-MDList -Lines $parallelVersion -Style Unordered
$markdown += New-MDList -Style Unordered -Lines @(
$vbox
$parallelVersion
)
}
$markdown += New-MDNewLine

View File

@@ -213,7 +213,7 @@ Describe "Common utilities" {
"helm version --short" | Should -ReturnZeroExitCode
}
It "virtualbox" {
It "virtualbox" -Skip:($os.IsBigSur) {
"vboxmanage -v" | Should -ReturnZeroExitCode
}