2016-08-04 22:13:05 +02:00
|
|
|
set -x
|
2016-07-18 21:21:55 +02:00
|
|
|
ulimit -n 4096
|
|
|
|
# Only build packages for branches, not pull requests
|
2016-08-04 22:33:50 +02:00
|
|
|
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"
|
2016-07-18 21:21:55 +02:00
|
|
|
else
|
2016-08-03 09:19:39 +02:00
|
|
|
powershell -c "Import-Module ./build.psm1; Start-PSBootstrap; Start-PSBuild -CrossGen; Start-PSPester; Start-PSxUnit"
|
2016-07-18 21:21:55 +02:00
|
|
|
fi
|