From e2df172b3789580d32f5d2119ca2bc5eb6cde909 Mon Sep 17 00:00:00 2001 From: Andrea Park Date: Tue, 14 Sep 2021 16:03:22 -0400 Subject: [PATCH 1/2] aws sts check --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 48d3b9a..a518b15 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,8 @@ install: # For this reason, we disable the 'script' section below, since we prefer using 'before_script'. before_script: - npm test - + - if ! [ -x "$(command -v aws)" ]; then curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ; unzip awscliv2.zip ; sudo ./aws/install ; fi + - aws sts get-caller-identity script: # after successful tests, publish binaries if specified in commit message - ./scripts/publish.sh --toolset=${TOOLSET:-} --debug=$([ "${BUILDTYPE}" == 'debug' ] && echo "true" || echo "false") From 114eba1fa2fe7ea6b9abfa7e66c1a513e6f6adff Mon Sep 17 00:00:00 2001 From: Andrea Park Date: Tue, 14 Sep 2021 16:11:45 -0400 Subject: [PATCH 2/2] aws sts check --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a518b15..2ec017e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ install: before_script: - npm test - if ! [ -x "$(command -v aws)" ]; then curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" ; unzip awscliv2.zip ; sudo ./aws/install ; fi - - aws sts get-caller-identity + - aws sts get-caller-identity script: # after successful tests, publish binaries if specified in commit message - ./scripts/publish.sh --toolset=${TOOLSET:-} --debug=$([ "${BUILDTYPE}" == 'debug' ] && echo "true" || echo "false")