diff --git a/.travis.yml b/.travis.yml index 48d3b9a..2ec017e 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")