Upload Travis CI packages to AWS

We need to cd into tools so that the downloaded PowerShell package isn't
subsequently uploaded to AWS.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-07-05 12:45:37 -07:00
1 parent 985564416d
commit 970641e691
1 file changed
+6 -2
+6 -2
View File
@@ -7,12 +7,16 @@ matrix:
- os: osx - os: osx
osx_image: xcode7.3 osx_image: xcode7.3
language: generic language: generic
addons:
artifacts:
s3_region: "us-west-2"
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
git: git:
submodules: false submodules: false
before_install: install:
- git config --global url.git@github.com:.insteadOf https://github.com/ - git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init - git submodule update --init
- ./tools/download.sh - (cd tools && ./download.sh)
script: script:
- ulimit -n 4096; powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit" - ulimit -n 4096; powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit"
notifications: notifications: