diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..5fc728836 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,20 @@ +language: generic + +matrix: + include: + - os: linux + dist: trusty + sudo: false + addons: + apt: + sources: + - sourceline: deb [arch=amd64] https://packages.microsoft.com/ubuntu/14.04/prod trusty main + key_url: https://packages.microsoft.com/keys/microsoft.asc + packages: + - powershell + before_install: + - pwsh -c 'Set-PSRepository -Name PSGallery -InstallationPolicy Trusted' + - pwsh -c 'Install-Module Pester -Scope CurrentUser' + +script: + - pwsh -c 'Import-Module Pester; Invoke-Pester -EnableExit'