www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit dcb3d740bc968609eea46a515b2b2006f61aaf5e
parent b79ecfb5fea512f94b4bc4d2ebdb552b85ae6907
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue,  6 Jun 2017 01:52:53 -0400

Upload ZIP of build files to S3 after successful Travis run

Diffstat:
M.travis.yml | 16++++++++++++++++
1 file changed, 16 insertions(+), 0 deletions(-)

diff --git a/.travis.yml b/.travis.yml @@ -29,3 +29,19 @@ before_script: - node_modules/.bin/gulp build script: - test/runtests.sh -x firefox/firefox +before_deploy: + - mkdir build-zip + - cd build + - zip -r ../build-zip/$(date +"%Y-%m-%d")-$TRAVIS_BRANCH-$TRAVIS_COMMIT.zip * +deploy: + provider: s3 + access_key_id: AKIAJFDVJ54MCAEXPQ5Q + secret_access_key: + secure: YXRlWOAMELuCmArVTR50NH3HHEK/nwltmiS5iIEIVx0hFtI/GJCZWjWH0eQ5ro1V1GgYyEGT+Miud9SXNDeejYFNpR80G4gBSSpbngvT/CBYE5IIN/rvlykklCy5+HEgAZEt72zowBDzlX2DBRYPjryKXjL0Ahcz/H7NGvtS5Hk= + bucket: zotero-builds + skip_cleanup: true + local-dir: build-zip + upload-dir: client + acl: private + on: + repo: zotero/zotero