language: python
python:
  - 3.4
install:
  - pip install -r requirements.txt
script:
  - coverage run --source=sergey,proposal manage.py test
  - python manage.py syncdb --noinput
  - python manage.py migrate --noinput
  - python manage.py review
after_success:
  - coveralls
deploy:
  provider: heroku
  api_key:
    secure: hljuMQzAgAqEJgLbrBFGVbdLuvfgeNi8ke4BYygB2jA2eCW8GnnI0EhsEnZI1VobOOi1M3DYzG40XXbZmNxA2hslmQvwnMLmyt+Cc+nbDIUOsNasoYs1lIhytVckUqYgrrojbM4iSVm4YsGye76TTDa+CI6w7GqBm/B57KSSCqo=
  app: pyvideoru
  on:
    repo: coagulant/pyvideo.ru
  run:
    - "python manage.py migrate --noinput"
    - "python manage.py review"
    - "python manage.py embed"
    - restart

language: python
python:
  - 3.4
install:
  - pip install -r requirements.txt
script:
  - coverage run --source=sergey,proposal manage.py test
  - python manage.py syncdb --noinput
  - python manage.py migrate --noinput
  - python manage.py review
after_success:
  - coveralls
deploy:
  provider: heroku
  api_key:
    secure: ZD5BgojYQUWqegRjdIDNy/VaWIHJTLSbWiBCqYZxH+ZGJueBUOGdJEYCAGkKxUotBe4XaowX/y7/MROCYMQ0J2vr02T5Gyj9TZKtDfbMZ/0OjB7jHFKn0RC1pej8yt4ruslF1xqL0YwAZhD5DO6QSm5c0L5HK6Is9dlgtIcuM/Y=
  app: pyvideoru
  on:
    repo: coagulant/pyvideo.ru
  run:
    - "python manage.py migrate --noinput"
    - "python manage.py review"
    - "python manage.py embed"
    - restart

Update heroku auth token after enabling 2FA
Update heroku auth token after enabling 2FA
