From 04fbe6ea07e84eb8a5b2d4d55b3014d59bab32d0 Mon Sep 17 00:00:00 2001 From: blue Date: Sat, 13 Jan 2018 08:25:25 +0000 Subject: [PATCH] Add Travis config for Mac OS --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 5fc728836..66932c5d6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,13 @@ matrix: before_install: - pwsh -c 'Set-PSRepository -Name PSGallery -InstallationPolicy Trusted' - pwsh -c 'Install-Module Pester -Scope CurrentUser' + - os: osx + before_install: + - brew update + - brew tap caskroom/cask + - brew cask install powershell + - pwsh -c 'Set-PSRepository -Name PSGallery -InstallationPolicy Trusted' + - pwsh -c 'Install-Module Pester -Scope CurrentUser' script: - pwsh -c 'Import-Module Pester; Invoke-Pester -EnableExit'