mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
Don't build packages for pull requests
Since we don't want to build packages for pull requests (as they cannot get archived as artifacts), we need a slightly different build command, and moving it to a script was cleaner.
This commit is contained in:
1 parent
ea930d3346
commit
af9c4cb673
2 files changed
+13
-2
No files matched your search
Executable
+7
@@ -0,0 +1,7 @@
|
||||
ulimit -n 4096
|
||||
# Only build packages for branches, not pull requests
|
||||
if [[ $TRAVIS_PULL_REQUEST == false ]]; then
|
||||
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit"
|
||||
else
|
||||
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild; Start-PSPester; Start-PSxUnit"
|
||||
fi
|
||||
Reference in new issue
Block a user