From edd2edac897acf700ce15ad9275fb7c983cccfb3 Mon Sep 17 00:00:00 2001 From: blue Date: Fri, 12 Jan 2018 22:00:18 +0000 Subject: [PATCH] Add Travis config for Linux --- .travis.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .travis.yml 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'