From 970641e691162132f79afa44a2e6270289914860 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 5 Jul 2016 11:59:51 -0700 Subject: [PATCH] Upload Travis CI packages to AWS We need to cd into tools so that the downloaded PowerShell package isn't subsequently uploaded to AWS. --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 749714978e..5cc613d036 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: