Created
December 22, 2018 15:44
-
-
Save guitarrapc/4a474a105e304648adc7df749f8d0a10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install: | |
- export NETCORE_VERSION=2.2 | |
- sudo apt-get update && sudo apt-get install -y wget | |
# libicu60 | |
- wget http://mirrors.kernel.org/ubuntu/pool/main/i/icu/libicu60_60.2-6ubuntu1_amd64.deb | |
- sudo dpkg -i libicu60_60.2-6ubuntu1_amd64.deb | |
# .net core | |
- wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
- sudo dpkg -i packages-microsoft-prod.deb | |
- sudo add-apt-repository universe | |
- sudo apt-get -y install apt-transport-https | |
- sudo apt-get update | |
- sudo apt-get -y install dotnet-sdk-${NETCORE_VERSION} | |
# pwsh | |
- export PS_VERSION=6.1.0 | |
- export PS_PACKAGE=powershell_${PS_VERSION}-1.ubuntu.18.04_amd64.deb | |
- export PS_PACKAGE_URL=https://github.com/PowerShell/PowerShell/releases/download/v${PS_VERSION}/${PS_PACKAGE} | |
- wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb | |
- sudo dpkg -i packages-microsoft-prod.deb | |
- sudo apt-get update && sudo apt-get install -y powershell | |
- pwsh --version | |
- pwsh -c Install-Module Pester -Scope CurrentUser -Force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment