PowerShell/tools/travis.sh

9 lines
403 B
Bash
Raw Normal View History

2016-08-04 22:13:05 +02:00
set -x
ulimit -n 4096
# Only build packages for branches, not pull requests
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
2016-08-03 09:19:39 +02:00
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -CrossGen; Start-PSPackage; Start-PSPester; Start-PSxUnit"
else
2016-08-03 09:19:39 +02:00
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild -CrossGen; Start-PSPester; Start-PSxUnit"
fi