Skip to content

Commit

Permalink
Clean up, wait for localstack better
Browse files Browse the repository at this point in the history
  • Loading branch information
garyluu committed Feb 14, 2018
1 parent 266a37d commit f1e5722
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ script:
before_install:
- pip install --upgrade pip
- pip install --user s3cmd
- s3cmd --version
- which s3cmd
- pip install --user localstack
- localstack start &
- 'sleep 20' #wait for localstack to start
- bash start-localstack.sh

6 changes: 6 additions & 0 deletions start-localstack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
localstack start > localstack.log &
while ! less localstack.log | grep Ready. ; do
sleep 1
done
echo 'done'

0 comments on commit f1e5722

Please sign in to comment.