From 1bfb9d3667368e7f2b26bf08ffb56961d5596baf Mon Sep 17 00:00:00 2001 From: Soumyajit Dutta Date: Tue, 10 Jul 2018 11:47:18 +0530 Subject: [PATCH] Brew Awscli --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f7da196..8b3363c 100755 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install graphviz; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn --without-node; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install awscli; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y; fi - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi @@ -104,7 +105,6 @@ after_success: - if [ "$TRAVIS_OS_NAME" == "linux" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then aws s3 ls s3://ana-content/cdn/dist/ana-app/linux-ia32/ --human-readable --summarize; fi - if [ "$TRAVIS_OS_NAME" == "linux" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then aws s3 ls s3://ana-content/cdn/dist/ana-app/linux-x64/ --human-readable --summarize; fi # Mac only Upload to s3 - - if [ "$TRAVIS_OS_NAME" == "osx" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then pip2 install awscli --upgrade --user; fi - if [ "$TRAVIS_OS_NAME" == "osx" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then aws --version; fi - if [ "$TRAVIS_OS_NAME" == "osx" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then which python; fi - if [ "$TRAVIS_OS_NAME" == "osx" ] && ( [ "$TRAVIS_BRANCH" == "release" ] || [ "$TRAVIS_BRANCH" == "release-beta" ] ); then ls -al /usr/local/bin/python; fi