Skip to content

Commit c12a07c

Browse files
wimo7083apex-omontgomery
authored andcommitted
make adjustments to try out dockerhub
1 parent 8e14665 commit c12a07c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ env:
22
global:
33
- SQLALCHEMY_DATABASE_URI="sqlite:///:memory:"
44
- IMAGE_NAME=resources-api
5-
- DEPLOY_BRANCHES="master staging"
6-
- AWS_REGION=us-east-2
5+
- DEPLOY_BRANCHES="master"
76
language: python
87
sudo: required
98
dist: xenial

bin/run.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,7 @@ if [[ ! " ${BRANCHES_TO_DEPLOY[@]} " =~ " ${TRAVIS_BRANCH} " ]]; then
2121
exit 0
2222
fi
2323

24-
pip install awscli -q
25-
2624
if [ $? = 0 ]; then
27-
AWSBIN=$(which aws)
28-
AWSPATH=$(dirname $AWSBIN)
29-
export PATH=$PATH:$AWSPATH
3025

3126
# Get absolute path of dir where run.sh is located
3227
SOURCE="${BASH_SOURCE[0]}"
@@ -40,7 +35,4 @@ if [ $? = 0 ]; then
4035
bash ${SCRIPTDIR}/build &&
4136
bash ${SCRIPTDIR}/publish
4237

43-
else
44-
echo "Failed to install AWS CLI"
45-
exit 1
4638
fi

0 commit comments

Comments
 (0)