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
2016-07-05 12:45:37 -07:00
parent 985564416d
commit 970641e691
+6 -2
View File
@@ -7,12 +7,16 @@ matrix:
- os: osx
osx_image: xcode7.3
language: generic
addons:
artifacts:
s3_region: "us-west-2"
paths: $(ls powershell*{deb,pkg} | tr "\n" ":")
git:
submodules: false
before_install:
install:
- git config --global url.git@github.com:.insteadOf https://github.com/
- git submodule update --init
- ./tools/download.sh
- (cd tools && ./download.sh)
script:
- ulimit -n 4096; powershell -c "Import-Module ./build.psm1; Start-PSBootstrap -Package; Start-PSBuild -Publish; Start-PSPackage; Start-PSPester; Start-PSxUnit"
notifications: