2016-08-04 13:13:05 -07:00
|
|
|
set -x
|
2016-07-18 12:21:55 -07:00
|
|
|
ulimit -n 4096
|
|
|
|
|
# Only build packages for branches, not pull requests
|
2016-08-04 13:33:50 -07:00
|
|
|
if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then
|
2016-08-30 11:47:27 -07:00
|
|
|
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -CrossGen; Start-PSPackage; Start-PSPester -ThrowOnFailure; Test-PSPesterResults; Start-PSxUnit"
|
2016-07-18 12:21:55 -07:00
|
|
|
else
|
2016-08-30 11:47:27 -07:00
|
|
|
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild -CrossGen; Start-PSPester -ThrowOnFailure; Start-PSxUnit"
|
2016-07-18 12:21:55 -07:00
|
|
|
fi
|