Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .elasticbeanstalk/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
branch-defaults:
beanstalk:
environment: Hamtest
environment: Hamlet-Prod
environment-defaults:
Hamtest:
Hamlet-Prod:
branch: null
repository: null
global:
Expand Down
8 changes: 7 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ env:
- DJANGO_DB=travis_ci_test
- DJANGO_DB_USER=postgres
- DJANGO_SETTINGS_MODULE=hamlet.settings.test
before_deploy:
- rm -rf hamlet/testmodels/
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to clarify, this happens on Travis's clone of the code and not on master?

- pipenv lock --requirements > requirements.txt
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, cool, this is a sweet way to handle the requirements.txt problem.

- git add requirements.txt
- git commit -am "requirements/testmodels cleanup"
deploy:
provider: elasticbeanstalk
access_key_id: AKIAJQXIO6JJ6FWT7HFQ
Expand All @@ -24,7 +29,8 @@ deploy:
region: us-east-1
bucket_name: elasticbeanstalk-us-east-1-672626379771
app: hamlet
env: hamtest
env: Hamlet-prod
skip_cleanup: true
on:
repo: MITLibraries/hamlet
branch: master
Loading