From 4b6cca8dd8aa677b41bf52f1cae6b2f348f136fd Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Thu, 23 Apr 2020 22:25:26 -0400 Subject: [PATCH] Upload draft GAM builds to Drive --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8a44e667..6243824b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -213,6 +213,11 @@ script: - if [ "$e2e" = true ]; then $gam report customer todrive; fi - if [ "$e2e" = true ]; then $gam report users fields accounts:is_less_secure_apps_access_allowed,gmail:last_imap_time,gmail:last_pop_time filters "accounts:last_login_time>2019-01-01T00:00:00.000Z" todrive; fi - if [ "$e2e" = true ]; then $gam report admin start -3d todrive; fi +- if [ "$e2e" = true ]; then + for gamfile in gam-$GAMVERSION-*; do + $gam user $gam_user add drivefile localfile $gamfile drivefilename $GAMVERSION-$TRAVIS_COMMIT-$gamfile parentid 1N2zbO33qzUQFsGM49-m9AQC1ijzd_ru1; + done; + fi before_deploy: - export TRAVIS_TAG="preview"