forked from pester/Pester
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Pester to work on PowerShell Core at Windows, Linux, macOS (pe…
…ster#925) * Set repository to use Windows-style EOL * Comparing semantic version strings prior to fetching dynamic parameters now works in Powershell 6.0.0-beta versions * Add travis.yml for Linux * Exclude Gherkin from run on PowerShell Core * Correct macOS name * Changes to handling chars of new lines * Rename PowerShell executable name due to rename in v6.0.0-beta.9 * Customize the code to the specifics of systems other than Windows * Correction of mistakes in the parameter name * Adjust notation of paths to systems other than Windows * Improvements to code need to run Pester when Set-StrictMode -Version Latest * Small remark about lack of WMI on Linux * Skip failing tests - PowerShell issue #4268 * Merge pull request pester#926 from GavinEke/patch-1 * Update Travis CI to run on both Linux and macOS * Better Travis config * Improve Travis config * Update CHANGELOG and README about compatibility with PSCore 6.x
- Loading branch information
1 parent
403158e
commit 312b05f
Showing
31 changed files
with
534 additions
and
232 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto | ||
*.ps1 text | ||
* text=auto eol=crlf | ||
*.ps1 text | ||
*.psm1 text | ||
*.psd1 text | ||
*.ps1xml text | ||
*.md text | ||
*.feature text | ||
*.xsd text | ||
*.dtd text | ||
*.dll binary | ||
*.PNG binary |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: osx | ||
osx_image: xcode9.1 | ||
before_install: | ||
- brew update | ||
- brew tap caskroom/cask | ||
- brew cask install powershell | ||
- os: linux | ||
dist: trusty | ||
# VM-based builds turned out to be faster | ||
sudo: required | ||
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 | ||
|
||
script: | ||
- pwsh -c 'Import-Module ./Pester.psd1; Invoke-Pester -ExcludeTag VersionChecks -EnableExit' |
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
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
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
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
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
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
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
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
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
Oops, something went wrong.