travis deployment script for django applications to heroku

Solutions on MaxInterview for travis deployment script for django applications to heroku by the best coders in the world

showing results for - "travis deployment script for django applications to heroku"
Sara
08 Sep 2017
1language: python
2deploy:
3  provider: heroku
4  buildpack: python
5  api_key:
6    secure: very_long_encrypted_token
7  strategy: git
8  app: glucosetracker-demo
9  on:
10    repo: jcalazan/glucose-tracker
11  run:
12    - "python glucosetracker/manage.py syncdb --noinput --settings=settings.heroku"
13    - "python glucosetracker/manage.py migrate --all --settings=settings.heroku"
14    - "python glucosetracker/manage.py load_random_glucose_data jsmith --settings=settings.heroku"
15    - restart
16script: "coverage run --source=. glucosetracker/manage.py test -v 2"